• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installing JRE 5.0 on Ubuntu 10 in i686 architecture

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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"


 
Ranch Hand
Posts: 81
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
Ranch Hand
Posts: 781
Netbeans IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic