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
Thomas Weidenfeller - 22 Sep 2006 12:50 GMT
> 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

Signature
The comp.lang.java.gui FAQ:
http://gd.tuwien.ac.at/faqs/faqs-hierarchy/comp/comp.lang.java.gui/
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
Paul Davis - 22 Sep 2006 13:16 GMT
> I need to develope java Web Start apps on Linux using the jdk 1.4.2
> .
[quoted text clipped - 33 lines]
> 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.
Thufir - 23 Sep 2006 09:10 GMT
> I need to develope java Web Start apps on Linux using the jdk 1.4.2
[...]
Out of curiosity, are you building with ant, or maven?
-Thufir