LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java 7 Vs sun-java-6, one or the other or both? (http://www.linuxquestions.org/questions/linux-newbie-8/java-7-vs-sun-java-6-one-or-the-other-or-both-4175431478/)

EODSteven 10-10-2012 08:21 AM

Java 7 Vs sun-java-6, one or the other or both?
 
If you have Java 7 installed but you want sun-java-6 can you simply download sun-java-6 and they work together or do you have to remove Java 7?

EODSteven 10-10-2012 08:30 AM

1 Attachment(s)
Sun Java 6 no longer available....

arun5002 10-10-2012 08:38 AM

Hi


Updated Repository and install java

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk



To enable appropriate java version
Quote:

sudo update-alternatives --config java
To check the version of java enabled

Quote:

java -version

EODSteven 10-10-2012 08:48 AM

It's not available no more due to a security issue...I got 6 JDK, that will do!


All times are GMT -5. The time now is 07:25 PM.