Ubuntuers -
I'm switched my Linux flavor from Fedora to Ubuntu and am have a few issues finding packages. I installed Java 5 which went well using the command
sudo apt-get install sun-java5-jdk
I decided to go ahead and bite the bullet for Java 6 but couldn't find a java 6 package. Here are the steps I used to install.
download java from
http://java.sun.com/javase/downloads/index.jsp
cd to dowload directory
chmod a+x jdk-6-linux-i586.bin
sudo ./jdk-6-linux-i586.bin
sudo mv jdk1.6.0 /usr/lib/jvm/
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0/bin/java" 1
sudo update-alternatives --set java /usr/lib/jvm/jdk1.6.0/bin/java
java -version
Is the the 'normal' way or is there a package out there I could have installed?
Bookmarks