View Full Version : [SOLVED] Getting Java 1.6.0
ConMan318
June 23rd, 2008, 09:14 PM
Pretty simple, I have Java 1.5.0 and I want the newest version. I tried the repos but I don't really know which of them I need to install/uninstall to upgrade since there are so many packages that come up when I search 'java'. Is there a command that'll upgrade the whole package to the new version? Or do I need to get it from Sun's site?
Thanks.
dexter.deepak
June 23rd, 2008, 09:23 PM
sudo apt-get install sun-java6-jdk
or if you are a hungry mind:
sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jre
wait if someone gives you a method of "upgrading" from java5 to java6..
xlinuks
June 23rd, 2008, 09:25 PM
If you're a Java developer you need this (type in the terminal):
sudo apt-get install sun-java6-jdk
If you just want to have java installed on your computer (thus just to run Java programs) try this:
sudo apt-get install sun-java6-jre
ConMan318
June 23rd, 2008, 09:45 PM
I used the -jdk install and it worked, thanks.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.