Ubuntu 10.10 installs OpenJDK as the default java distro. Often times I go ahead and replace it with closed source Sun (Oracle) JDK 1.6, in order to avoid any hiccups that I might encounter down the road with OpenJDK. It's possible to download the Sun Linux JDK distro from Oracle directly, but I always find it much easier and cleaner to do it directly through synaptic.
$sudo add-apt-repository ppa:sun-java-community-team/sun-java6
$sudo apt-get update
$sudo apt-get install sun-java6-jdk
$sudo apt-get install sun-java6-plugin
# to set this as default java version
$sudo update-java-alternatives -s java-6-sun
Do a "java -version" to ensure everything worked well.
2 comments:
Opa cara vlw me ajudou bastante!! Abs!
Thank you. This is exactly what I needed
Post a Comment