File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installing JRE 5.0 on Ubuntu 10 in i686 architecture

 
Erik Deveza
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 71
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
James Sabre
Ranch Hand
Posts: 781
Java Netbeans IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Erik Deveza
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic