installing java 6 in linux mint 14

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
angelochen960

installing java 6 in linux mint 14

Post by angelochen960 »

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
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.
00negative

Re: installing java 6 in linux mint 14

Post by 00negative »

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
Jim1938

Re: installing java 6 in linux mint 14

Post by Jim1938 »

I did the opposite.
Removed 6 and installed 7.
I used Synaptic Package Mgr to both removel and installation.
I was successful.
00negative

Re: Re: installing java 6 in linux mint 14

Post by 00negative »

Jim1938 wrote:I did the opposite.
Removed 6 and installed 7.
I used Synaptic Package Mgr to both removel and installation.
I was successful.
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.
den68

Re: installing java 6 in linux mint 14

Post by den68 »

this is what I do after purging openjdk :

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
hope it helps
Locked

Return to “Software & Applications”