This post refers to a specific version: Ubuntu 6.10 - Edgy Eft.
As a result this may/may not work with any newer versions.

Yes, Sun have changed their licences (last year sometime (2006)) so that its now much easier to install Java on linux. You can install it pretty easily from the command line now.

To install follow the quick and easy guide:
Have apt update its repository
sudo apt-get update
Next, tell it to install java.... simple.
sudo apt-get install sun-java5-jdk
Its actually that easy

To check its installed correctly, type:
javac -version
to make sure the compiler is installed correctly
and
java -version
to ensure the runtime is installed correctly.

Done!

Posted by OLLIE at 17:00pm

No comments yet. Be the first to add one!


Leave a Reply