Results 1 to 6 of 6

Thread: Can not run file with javaws

  1. #1
    Join Date
    Dec 2009
    Posts
    178

    Can not run file with javaws

    Hello everyone,
    My problem is that I can not run the downloaded file with javaws command. By cons, Ubuntu offers me a default program that works very well (open JDK java 6 web start). By cons, to create the shortcut, I'm stuck because javaws does not work and I do not know the command that corresponds to the program by default. Any one have a solution for this. Thank you all in advance.
    Last edited by New ID; 20-01-2010 at 01:06 PM.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,139

    Re: Can not run file with javaws

    Hello,
    I just had the same problem, I imagine it told me that it can not find javaws in / usr/lib/jvm/java-1.5.0-sun-1.5.0.13 /. Looking in the / jvm / the good record ended with 1.5.0.15. So I right clicked on the icon on my desktop and hanged the path in the "launcher" accordingly. And it works for me, even you can try this procedure, though I am not sure it will work with you because I do not know that this is the correct procedure to it.

  3. #3
    Join Date
    May 2008
    Posts
    3,316

    Re: Can not run file with javaws

    Hello,
    I would like to suggest you something, I had the error message which appeared after the launch of the Java window
    "Unable to launch the application"
    Details: Unable to load the / URL specified: /home/usr...
    Yet "The package sun-java6-jre is already installed". The ideas is to make a clean install of java, that is remove java completely from your computer and then install again with a fresh copy of java. This worked for me. Hope it will work for you.

  4. #4
    Join Date
    Jan 2008
    Posts
    3,755

    Re: Can not run file with javaws

    Hello,
    After installing the Sun Java, do not forget to choose it as default Java for the java applications and check if they are properly running. You can select them from the list. Or you can update with the following command
    Code:
    sudo update-alternatives - config java
    or enter directly from Sun Java 6
    the code is as
    Code:
    sudo update-java-alternatives-s java-6-jdk

  5. #5
    Join Date
    May 2008
    Posts
    4,570

    Re: Can not run file with javaws

    Hi,
    I have installed the java application with success, but I think I am facing a problem with the launcher. The launcher is the command "javaws / home / usr..., a double click does nothing, the same command in my terminal returns:
    Code:
    Spec version not supported (supports 1.0)
    The command
    Code:
    sudo update-java-alternatives-s java-6-jdk
    I refer all a bunch of things
    Using / usr/lib/jvm/java-6-jdk/jre/bin/javaws 'to provide` javaws'.

  6. #6
    Join Date
    Dec 2009
    Posts
    296

    Re: Can not run file with javaws

    Hello,
    I had the same error message. It suffices in fact to
    Code:
     update-alternatives - config javaws
    and choose the version of sun, and everything works fine. Thank you for putting me on track with the "update-alternatives". Just try the update alternatives is works very well and solves the problem.

Similar Threads

  1. Replies: 4
    Last Post: 04-04-2012, 01:12 AM
  2. Replies: 3
    Last Post: 28-01-2011, 06:26 AM
  3. Replies: 5
    Last Post: 12-08-2010, 11:36 PM
  4. What is Exploit-JavaWS?
    By Kaufman in forum Networking & Security
    Replies: 5
    Last Post: 21-04-2010, 03:24 AM
  5. Replies: 3
    Last Post: 16-07-2009, 01:29 PM

Tags for this Thread

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
  •  
Page generated in 1,715,798,032.43600 seconds with 17 queries