I am a novice programmer who is trying to learn Java. I have Ubuntu 11.10. I recently downloaded NetBeans IDE 7.0.1 from their website. By default, it uses Java 6. I have downloaded Java 7, but when I tried to change NetBeans to use java 7, It won't allow me to. Is there a way to make Java 7 the default Java and make NetBeans use this instead of Java 6?