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.
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.
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
Quote:
"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.
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
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
Quote:
Using / usr/lib/jvm/java-6-jdk/jre/bin/javaws 'to provide` javaws'.
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.