PDA

View Full Version : [all variants] how to install java



muraliinformal
January 3rd, 2010, 08:33 AM
hi all,
wishes of the day.I hav "jdk-6u17-linux-i586.bin" file.Can anyone please tell me how to install it into my system(ubuntu 9.10-intell-32-bit).

lykeion
January 5th, 2010, 08:30 PM
If it's not really necessary to have the latest update, you can easily install sun-java6-jdk using Synpatics (I think Karmic uses update 15).

Otherwise check this link:
http://techsk.blogspot.com/2009/11/installing-java-in-ubuntu-904.html

It's for Jaunty but the procedure is the same. Also notice this example makes dir /usr/java and unpacks jdk there. It could just as well be installed to home dir.

Edit:
Just found another (and better) guide to install java manually:
http://sites.google.com/site/easylinuxtipsproject/java

It's for Sun JRE but the procedure is the same for JDK. Also notice this example makes dir /opt/java/32 and unpacks jdk there. It could just as well be installed to home dir.

Final note:
The only reason to install JDK is if you are a Java developer. Non-developers only need the Java Runtime Environment (ie sun-java6-jre or even openjdk-6-jre)

forumid123
January 5th, 2010, 09:15 PM
Thanks for sharing



http://tinytwitt.com/content/17/smile.gif