This one is pretty simple, but I tend to forget the steps when I don't do it for a long time.
1- Use the Synaptic Package Manager to download the last JDK version for Ubuntu. Select sun-java6-jdk package.
The Synaptic application will prompt you for additional packages to download. Mark them, and click the Apply button to start the download. Confirm by clicking Apply in the Summary window.
The Synaptic Manager will start to download the package files.
2- Then, make sure that your environment use the Sun flavour of the JVM you have just setup.
Use the following command in terminal window to check the list of Java flavours in your system.
To have the Sun flavor as the current Java version, use the following command:
sudo update-java-alternatives -s java-6-sun
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment