Results 1 to 4 of 4

Thread: javaw - command not found

  1. #1
    Join Date
    Nov 2009
    Beans
    31

    javaw - command not found

    I want to start use an application that requires javaw, (a virtual slide rule app) . At the moment running the script that launches the app looks like this.
    Code:
    ./gusr: line 2: javaw: command not found
    The script is just this line:

    Code:
    javaw  -cp "./lib/gusr.jar" -ea com.griffenfly.slide.SlideRule
    Obviously javaw is missing or not in the path for some reaon. How to fix this.

    Output of
    Code:
    java -version java version "1.6.0_20"
    OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~9.10.1)
    OpenJDK Server VM (build 19.0-b09, mixed mode)
    Thanks

  2. #2
    Join Date
    Nov 2009
    Beans
    31

    Re: javaw - command not found

    bump!!

  3. #3
    Join Date
    Jan 2009
    Location
    Toronto, Canada
    Beans
    214
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: javaw - command not found

    javaw.exe (note: not "javaws") is a MS command. Under Linux use "java".

    /luigi

  4. #4
    Join Date
    Nov 2009
    Beans
    31

    Re: javaw - command not found

    Thanks, I didn't realise this. The script that actually comes in a tar file specifically packaged for Linux. Running the command produces the error
    Code:
    Exception in thread "main" java.lang.NoClassDefFoundError
    . I was hoping to track down the error myself, but I'll contact the developer.

    Thanks again for your help

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •