Meaningless Drivel is fun!*
The moose likes Linux / UNIX and the fly likes Installing JRE 5.0 on Ubuntu 10 in i686 architecture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Installing JRE 5.0 on Ubuntu 10 in i686 architecture" Watch "Installing JRE 5.0 on Ubuntu 10 in i686 architecture" New topic
Author

Installing JRE 5.0 on Ubuntu 10 in i686 architecture

Erik Deveza
Greenhorn

Joined: Feb 21, 2011
Posts: 15
Hi, I am trying to run a jnlp through javaws in Ubuntu's built-in openJDK 6.0. My problem starts when my application does not work and throws an exception using the built-in java version. I have read that Ubuntu can only execute jnlp using jre 1.5, so I uninstalled openJDK and now I am trying to install JRE 5.0.

I am new to Ubuntu and don't know how to install a simple JRE in Ubuntu. I found no jre for i686 architecture so I downloaded jre for i586. I managed to extract the bin package but the system cannot recognize the bin executables. When I enter "java" in Terminal window, it displays the following "The program java can be found in the following packages:" It then points me to the built-in openJDK.

How do I install JRE 5 in Ubuntu to run a jnlp through javaws?
Erik Deveza
Greenhorn

Joined: Feb 21, 2011
Posts: 15
This is working already. I can run my JNLP files already. I just wanted to share the solution.

I performed the following in Ubuntu:

Execute "gksudo gedit /etc/apt/sources.list"
Insert "deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse" at the last portion of the text file
Execute "sudo apt-get update"
Execute "sudo apt-get install sun-java5-jre"
Click Tab to highlight "OK" button and press Enter.
Execute "sudo update-alternatives --config java"
Execute "javaws http://111.222.333.444:80/application_with_jnlp_ext"


sourabh girdhar
Ranch Hand

Joined: Feb 10, 2010
Posts: 71

I prefer to install java manually in ubntu after downloading from Sun website. I too prefer using sun jdk as ciomapred to open JDK. Everything working fine for me from years now....


SCJP SCWCD AIX SOA
The significant problems we face cannot be solved by the same level of thinking that created them -- Albert Einstein

James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

Erik Deveza wrote: I have read that Ubuntu can only execute jnlp using jre 1.5,


Could you indicate where you read that because my experience indicates that it is wrong! I use OpenJDK 1.6 with WebStart on Ubuntu 10.10 without any problems.


Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
Erik Deveza
Greenhorn

Joined: Feb 21, 2011
Posts: 15
James Sabre wrote:
Erik Deveza wrote: I have read that Ubuntu can only execute jnlp using jre 1.5,


Could you indicate where you read that because my experience indicates that it is wrong! I use OpenJDK 1.6 with WebStart on Ubuntu 10.10 without any problems.

Sorry about that. JRE 1.6 can also run JNLP. It's the openJdk that I had some problems with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing JRE 5.0 on Ubuntu 10 in i686 architecture
 
Similar Threads
Error in Java Home in Ubuntu
Running JBoss on Sheeva plug
Start Tomcat 7 as tomcat user (not root user)
java installation problem in ubuntu
Unexpected Error