Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When creating a New Project in NetBeans, it hangs on the creation screen;


I'm running Netbeans 7.0.1 on Xubuntu 13.04.

Java -version prints:

java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

/usr/lib/jvm/ contains the following folders;

java-1.5.0-gcj-4.7-amd64  java-6-openjdk-amd64   java-7-openjdk-common
java-1.6.0-openjdk-amd64  java-6-openjdk-common
java-1.7.0-openjdk-amd64  java-7-openjdk-amd64

I tried editing /usr/share/netbeans/7.0.1/etc/netbeans.conf with the following (as was suggested in another post);


But that didn't work. Instead, NetBeans then presented an error on the loading splash when it reached "Turning on Modules..." claiming the JDK was missing.

Both NetBeans and the OpenJDK Java 7/6 Runtimes were installed through the Ubuntu Software Centre. I've also tried uninstalling and reinstalling both Java and NetBeans.

Any help would be greatly appreciated, thanks!

share|improve this question
up vote 0 down vote accepted

Managed to solve it.

Uninstalled both OepnJDK versions and installed the Oracle JDK via the instructions found here.

NetBeans now runs fine, seems it only has problems with OpenJDK.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.