Replacing IcedTea Java with Oracle JRE on Linux Mint 16

Managing servers with Out of Band Cards IPMI (SuperMicro) KVM require JAVA to access. Problem is, when launching the console using stock Linux Mint, it blows up with a file not found error.

Decided to replace the IcedTea packages and headed to and grabbed the appropriate version. In my case, it was linux source tar ball.

# apt-get update && apt-get remove openjdk-6-jre
# apt-get autoremove && apt-get clean

Dropped into terminal and as root. Removed the softlink for “Java” in /usr/bin/java and untar/gzip. Created a softlink for java to current version – jre1.7.0_51 located in /usr/bin/jre1.7.0_51.

# cd /usr/bin
# rm java
# ln -s /usr/bin/jre1.7.0_51 java

Now we need to create a softlink in our home directory ./mozilla/plugins

$ ln -s /usr/bin/java/lib/i386/libnpjp2.so ~/.mozilla/plugins/

Now, we need to verify it works in firefox – so far so good, however, the SuperMicro SSL dumps an error paraphrasing here….Security settings – no longer accept Java Webstart applications that are self-signed. Great so now what?

Ahh – editing the file located in your ~/.java/deployment/deployment.properties

Add this line…. “deployment.security.level=MEDIUM”

Save/Close; Close Firefox, reopen and voila! It should work!