sudo apt-get install python-software-properties
Then I add the repo that has Sun's jdk:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo aptitude update
sudo aptitude install sun-java6-jdk
Then, if there are multiple jdk alternatives on the system, choose which one you want with:
sudo update-alternatives --config java
2 comments:
So my only real question on this, is why not just use the openjdk??
Clint
No real reason except for habit and consistency for development. I'm currently trying to reproduce a bug and I didn't want other random variables to get in the way.
Post a Comment