developing java Web Start apps on Linux

Discussion in 'Java' started by onetitfemme, Sep 22, 2006.

  1. onetitfemme

    onetitfemme Guest

    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
    onetitfemme, Sep 22, 2006
    #1
    1. Advertising

  2. Thomas Weidenfeller, Sep 22, 2006
    #2
    1. Advertising

  3. onetitfemme

    Paul Davis Guest

    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/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.
    Paul Davis, Sep 22, 2006
    #3
  4. onetitfemme

    Thufir Guest

    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
    Thufir, Sep 23, 2006
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tom
    Replies:
    2
    Views:
    591
    Thomas Weidenfeller
    Jul 21, 2005
  2. Alex Martelli
    Replies:
    0
    Views:
    392
    Alex Martelli
    Aug 18, 2003
  3. Kenneth P. Turvey
    Replies:
    2
    Views:
    925
    Mark Space
    Oct 30, 2007
  4. anonymous

    Call windows apps from web apps

    anonymous, Feb 22, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    4
    Views:
    199
    anonymous
    Feb 28, 2005
  5. Richard Choate

    Web enabled apps/Thin client apps

    Richard Choate, Jul 23, 2003, in forum: ASP General
    Replies:
    2
    Views:
    284
    Chris Barber
    Jul 23, 2003
Loading...

Share This Page