Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Look at the section of this page on java. 6.3 is available now. you can also go to the page for sun microsystems and look for java. There is an installation page for linux.
I am posting this under this thread because I found a solution for my problem with jnlp and maybe it will help someone else with this problem. I downloaded all the java code from Sun and Firefox was not opening the jnlp file. After much searching, I found this link,
The solution was simple once I read it. I had to manually open preferences-> applications->
jnlp. The above link told me the name of the application (javaws), which was rather deep in the java tree. (I use the old-fashioned linux command "locate" to find it)
$cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"
$ uname -a
Linux linux 2.6.27-11-generic #1 SMP Wed Apr 1 20:53:41 UTC 2009 x86_64 GNU/Linux
This one worked for me:
1. Install an official Java for Linux (from the SUN site, http://java.com/en/download/help/5000010500.xml )
2. In your Firefox browser, go to Edit-> preferences-> Applications, and in Content Type select the option "use other" for jnlp files
3. In the dialog box, select the "javaws" file location (for me, it was located in "/usr/java/jre1.6.0_16/bin")
Wery important to select the "javaws" from official SUN package, and not from the package with Linux java distribution - it's not works!
Last edited by mpainkiller; 10-08-2009 at 07:24 AM.
This one worked for me:
1. Install an official Java for Linux (from the SUN site, )
2. In your Firefox browser, go to Edit-> preferences-> Applications, and in Content Type select the option "use other" for jnlp files
3. In the dialog box, select the "javaws" file location (for me, it was located in "/usr/java/jre1.6.0_16/bin")
Wery important to select the "javaws" from official SUN package, and not from the package with Linux java distribution - it's not works!
Thanks very much, I was starting to get really frustrated with all the convoluted "solutions" from elsewhere, your solution is effective and elegant, I just registered to say THANK YOU!!
Mpainkiller's advice worked for me as well. However you must install java into your operating system before you may do this (If you have not manually installed it already, I think you probably don't have it unless some other program has installed it along with itself). Here are the download and installation instructions: http://java.com/en/download/help/lin...selfextracting
I downloaded the self extracting version, as I had no idea what an RPM package was, and wasn't about to bet on whether it was included on my OS or not (I'm using Ubuntu 11.10, by the way).
Note: I must mention that in the installation instructions, where it says:
"Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-6u<version>-linux-i586.bin"
at first I did not realize, "jre-6u<version>-linux-i586.bin" is just the name of the file download, which as of the time of this post is "jre-6u29-linux-i586.bin".
Hope this helped someone!!! I know it must be fairly easy to stumble upon this problem.
Oh, and for newer users, it may be worth mentioning that it is wanting you to type these instructions into a program called "terminal" available by typing its name into the dash search function.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.