This exact same question was asked here, but the OP was asking in regard to a Windows system. I am running Linux Mint 14 "Nadia" - KDE (64-bit). The answer @Kalyan Akella provided to that question should work for me, but it does not.
Here are the details of my situation:
To stay consistent with my development team I need to use the 32 bit version of jdk-6u18, so I have downloaded
Before installing the JDK I have completely removed all (and I mean all) Java related packages, including all
OpenJavapackages. I have tried leaving
java-commoninstalled, but it doesn't make a difference.
To install a Java 32 bit JDK on my 64 bit OS I had to install
ia32-libsas suggested here.
I have tried installing the previously mentioned JDK in the following directories...
/usr/local /usr/lib /usr/java
I set my
JAVA_HOMEvariable accordingly depending on where I have installed the JDK at (i.e. the path to the
jdk1.6.0_18directory). I add
$JAVA_HOME/binto my path. I have also set the (unneeded?)
When I run
setall variables display as I would expect them to. In the
jdk1.6.0_18directory I have also tried setting permissions recursively to
755just to make sure my problem was not a permissions error. With all of these configurations everything Java related seems to work fine except the browser plugin.
I have tried setting the
$HOME/.mozilla. Both seem to accomplish the same thing and display as I would expect them to when I run
I understand that Chrome, Chromium, and Firefox require a link to
pluginsdirectory for Java to work in those browsers. I have created the link using
sudo ln -sin the following directories...
~/.mozilla/plugins /usr/lib/chromium-browser/plugins /usr/lib/firefox/plugins
... and have also attempted to set the permissions of the link to
755, all to no avail.
I have run out of ideas, and I really don't want to have the dual Java installations. Any suggestions would be appreciated.