Wednesday, 2 May 2012

How to install Oracle JRE 6 in Ubuntu

There's a couple of quirks in Netbeans which seems to be a problem with OpenJDK.

Most irritating is being unable to copy and paste to/from a browser.

Installing Oracle Java 6 seems to solve the quirks

First run this which will create a package on your computer
https://github.com/flexiondotorg/oab-java6#how-do-i-download-and-run-this-thing

Then install the package
https://github.com/flexiondotorg/oab-java6#what-gets-installed

Then edit  netbeans.conf  to use the Oracle Java 6

gksudo gedit ~/netbeans-7.1.1/etc/netbeans.conf 

Change to

netbeans_jdkhome="/usr/lib/jvm/java-6-sun/jre"

And restart Netbeans

No comments:

Post a Comment