Wednesday, October 18, 2006

upgrade java 1.4 to 1.5

Ubuntu 6.06

  • Sun Java5: Install it from the Applications -> Add/Remove... menu making sure to check the unsupported and proprietary software checkboxes, or install the sun-java5-bin package.

  • Blackdown Java2 1.4 packages: Install the j2re1.4 package, available in the multiverse repositories. Install it from the Applications -> Add/Remove... menu, or install the j2re1.4 package.


Kubuntu 6.06

  • Sun Java5: Load up Konsole, and type:


sudo apt-get install sun-java5-bin

Accept the licence agreement that appears.

{i} Note: The license may not come up and will cause the package installation to fail, to fix this, do the following:

  • In a terminal, type

sudo apt-get install libqt-perl sudo dpkg-reconfigure debconf
  • The first command will install the needed package for debconf-kde counterpart. The second command will ask a few questions: For the first step, choose "kde". For the second step, choose "high". Then, to fix the packages that did not correctly install, do:

sudo apt-get -f install
  • then you are done.

  • Blackdown Java2 1.4 packages: Install the j2re1.4 package, available in the multiverse repositories. Install it from the Applications -> Add/Remove... menu, or install the j2re1.4 package.

{i} Note: Scroll down to "Selecting the default Java version" section to enable the JRE you have installed.

more information look up

https://help.ubuntu.com/community/Java

No comments: