Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > developing java Web Start apps on Linux

Reply
Thread Tools

developing java Web Start apps on Linux

 
 
onetitfemme
Guest
Posts: n/a
 
      09-22-2006
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/javaweb...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

 
Reply With Quote
 
 
 
 
Thomas Weidenfeller
Guest
Posts: n/a
 
      09-22-2006
onetitfemme wrote:
> 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
--
The comp.lang.java.gui FAQ:
http://gd.tuwien.ac.at/faqs/faqs-hie...lang.java.gui/
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/...g/java/gui/faq
 
Reply With Quote
 
 
 
 
Paul Davis
Guest
Posts: n/a
 
      09-22-2006

onetitfemme wrote:
> 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/javaweb...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/javaweb...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.

 
Reply With Quote
 
Thufir
Guest
Posts: n/a
 
      09-23-2006
On Fri, 22 Sep 2006 04:42:48 -0700, onetitfemme wrote:

> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging when developing Web apps under NetBeans Kenneth P. Turvey Java 2 10-30-2007 02:59 AM
Question for those developing GUI apps with Ruby Karl von Laudermann Ruby 3 05-18-2007 01:52 PM
java web start and console apps tom Java 2 07-21-2005 12:10 PM
good book about developing C# database apps in VS .Net IDE? Bennett Haselton ASP .Net 1 09-21-2004 02:36 PM
Re: python based tools for developing web-based apps Alex Martelli Python 0 08-18-2003 12:26 PM



Advertisments