Setup oracle java 7 on Ubuntu 14.04

I wanted to try oracle jdk vs openjdk performance for the DartEditor

I chose


that I extracted to


Then comes the configuration:

# One time setup

# local var
$ LOCAL_JAVA_TOP=/opt/apps/jdk1.7.0_71

# setup
sudo update-alternatives --install /usr/bin/java java $LOCAL_JAVA_TOP/bin/java 110
sudo update-alternatives --install /usr/bin/javac javac $LOCAL_JAVA_TOP/bin/javac 110

Then to change configuration:

# To change configuration between openjdk / oracle
sudo update-alternatives --config java
sudo update-alternatives --config javac

At first, Oracle looks slightly slower in a simple test where I started exited the editor with a complex project. However the overall experience looks slightly be completed after some days of usage...

Popular posts from this blog

Simple Samba setup on Lubuntu

Soving AccessDenied on Google Cloud Storage domain mapping

USB Foot Switch II - "Usb HIDKB Not connected"