A few weeks back I started noticing some performance issues on my IDE and decided to investigate a bit more on it: turns out that they recommended to 1) upgrade to the latest JDK (7) and stop using OpenJDK, as it has some performance gotchas.
Turns out to be a no-brainer thanks to the apt repository manager provided by flexiondotorg:
1 2 3 4
After running it you just need to re-install all the packages:
and tell ubuntu that the JDK version and location has changed:
A quick check with
java -version and then enjoy it!