I am using Ubuntu 10.4, Netbeans 6.9, and Open JDK 6 for some time, and have otherwise had no need to upgrade any software on my Ubuntu environment. I would like to continue using Ubuntu 10.4.

However, I have recently come across some difficulty using Netbeans, and I believe this difficulty (IDE becomes preoccupied in syntax checking and becomes unresponsive as a result) may have been addressed in a later version of the software. I would also like to capitalise on some of the features JDK 7 appears to have with regard to generics.

Any quick and easy advice about upgrading Netbeans and Open JDK on my ubuntu environment would be of great help; I would rather prefer this process to be as uncomplicated as it can be.