developing java Web Start apps on Linux

O

onetitfemme

I need to develope java Web Start apps on Linux using the jdk 1.4.2
..
the thing is that I can't find javaws to go say, javaws SwingSet2.jar
..
What is it I am missing here?
..
sh-3.00# java -version
java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
..
sh-3.00# javaws
http://java.sun.com/products/javawebstart/apps/swingset2.jnlp
sh: javaws: command not found
sh-3.00# cd /mnt/hda3/opt/java/jdk.1.4.2.12/demo/jfc/SwingSet2
..
sh-3.00# ls -l
total 1364
-r--r--r-- 1 root root 631 May 9 16:37 README.txt
-r--r--r-- 1 root root 301 May 9 16:37 SwingSet2.html
-rw-rw-r-- 1 root root 1376547 May 9 16:37 SwingSet2.jar
drwxrwxr-x 2 root root 4096 May 9 16:55 src
..
sh-3.00# chmod +x SwingSet2.jar
sh-3.00# javaws SwingSet2.jar
sh: javaws: command not found
..
sh-3.00# which java
/mnt/hda3/opt/java/jdk.1.4.2.12/bin/java
..
sh-3.00# CLASSPATH=java/jdk.1.4.2.12/jre/javaws/javaws.jar
..
sh-3.00# echo $CLASSPATH
java/jdk.1.4.2.12/jre/javaws/javaws.jar
..
sh-3.00# javaws SwingSet2.jar
sh: javaws: command not found
 
T

Thomas Weidenfeller

onetitfemme said:
I need to develope java Web Start apps on Linux using the jdk 1.4.2
.
the thing is that I can't find javaws to go say, javaws SwingSet2.jar
.
What is it I am missing here?

That the javaws binary in Java 1.4 is in a different directory than the
java vm. Read the 1.4 web start documentation.

/Thomas
 
P

Paul Davis

onetitfemme said:
I need to develope java Web Start apps on Linux using the jdk 1.4.2
.
the thing is that I can't find javaws to go say, javaws SwingSet2.jar
.
What is it I am missing here?
.
sh-3.00# java -version
java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
.
sh-3.00# javaws
http://java.sun.com/products/javawebstart/apps/swingset2.jnlp
sh: javaws: command not found
sh-3.00# cd /mnt/hda3/opt/java/jdk.1.4.2.12/demo/jfc/SwingSet2
.
sh-3.00# ls -l
total 1364
-r--r--r-- 1 root root 631 May 9 16:37 README.txt
-r--r--r-- 1 root root 301 May 9 16:37 SwingSet2.html
-rw-rw-r-- 1 root root 1376547 May 9 16:37 SwingSet2.jar
drwxrwxr-x 2 root root 4096 May 9 16:55 src
.
sh-3.00# chmod +x SwingSet2.jar
sh-3.00# javaws SwingSet2.jar
sh: javaws: command not found
.
sh-3.00# which java
/mnt/hda3/opt/java/jdk.1.4.2.12/bin/java
.
sh-3.00# CLASSPATH=java/jdk.1.4.2.12/jre/javaws/javaws.jar
.
sh-3.00# echo $CLASSPATH
java/jdk.1.4.2.12/jre/javaws/javaws.jar
.
sh-3.00# javaws SwingSet2.jar
sh: javaws: command not found

java/j2sdk1.4.2.12/jre/javaws/javaws
http://java.sun.com/products/javawebstart/apps/swingset2.jnlp

But, you should really configure your browser to call that executable
for items of the mime-type "application/x-java-jnlp-file" too make life
easier.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,117
Latest member
Matilda564
Top