Hi,
after installing linux mint 14, i noticed there is already a openJDK java 7 installed. I'd like to remove it and replace it with Sun's java 6, any instructions on how to achieve this? Thanks,
Angelo
installing java 6 in linux mint 14
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
installing java 6 in linux mint 14
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: installing java 6 in linux mint 14
You can use the java install section to answer your question
http://forum.xda-developers.com/showthr ... ?t=1863547
The purge command in the link gets rid of the openjdk
You can also use the sudo alternatives --config java command to select the version to use
And use the java -version command to check the version is set to the sun version
Sent using Tapatalk 2
http://forum.xda-developers.com/showthr ... ?t=1863547
The purge command in the link gets rid of the openjdk
You can also use the sudo alternatives --config java command to select the version to use
And use the java -version command to check the version is set to the sun version
Sent using Tapatalk 2
Re: installing java 6 in linux mint 14
I did the opposite.
Removed 6 and installed 7.
I used Synaptic Package Mgr to both removel and installation.
I was successful.
Removed 6 and installed 7.
I used Synaptic Package Mgr to both removel and installation.
I was successful.
Re: Re: installing java 6 in linux mint 14
They are trying to install Sun's version, so it isn't in the package manager anymore unless they added an old or third party repo.Jim1938 wrote:I did the opposite.
Removed 6 and installed 7.
I used Synaptic Package Mgr to both removel and installation.
I was successful.
Re: installing java 6 in linux mint 14
this is what I do after purging openjdk :
hope it helps
Code: Select all
sudo apt-add-repository ppa:flexiondotorg/java
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2EA8F35793D8809A
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin