The issue:
When I open the "add new project" dialog (screenshot below), I can't create a new project. The loading message (hourglass icon) stays on forever. Except for "cancel", the other buttons are disabled.
It was working fine a few days ago, I haven't changed any setting prior to the issue appearing. I ran the internal update feature, but the issue persists.
The info:
My OS version: Ubuntu 12.04.2 LTS 64 bits
Netbeans version:
Help -> about
Product Version: NetBeans IDE 7.2.1 (Build 201210100934)
Java: 1.6.0_27; OpenJDK 64-Bit Server VM 20.0-b12
System: Linux version 3.2.0-49-generic running on amd64; UTF-8; pt_BR (nb)
User directory: /home/user/.netbeans/7.2.1
Cache directory: /home/user/.cache/netbeans/7.2.1
What I tried:
- Changing the Look and Feel with the
--laf
command-line option. The look-and-feel does change, but the issue persists. - Using the internal update command, a plugin got updated but the issue persists.
- Downloading and installing the latest version (7.31), it imported the settings from the previous version and the issue persists.
- Removing the settings folder
~/.netbeans/7.3.1
, restarting netbeans, choosing not to import settings and rather have a new clean install
Just posted the same question here ... the solution for me was to downgrade OpenJDK from 6b27 to 6b24 (look at the link for details).
My NetBeans was looking excactly like in your sreenshot and also had some other strange problems.
I would suggest you do
java -version
if this shows that you have 6b27 installed andcat /var/log/dpkg.log | grep openjdk
shows that you recently received the OpenJDK update you can try to fix the problem reverting to 6b24 using this command:****edit****
As I discovered some other problems (SSH connection wouldn't establish within NetBeans) I finally took the step to upgrade to Oracle JDK7. To start NetBeans with another JDK you have got to edit
./netbeans-7.X/etc/netbeans.conf
and change the linenetbeans_jdkhome="/usr/lib/jvm/java-7-oracle/jre"
(I guess this gets generated in the NetBeans installation process). Otherwise it will still use your old JDK no matter whatjava -version
says.It's a bug caused by the JDK version used:
The bug seems to affect both Oracle JDK and OpenJDK. Update your JDK in order to fix it. (Don't forget to chante the
netbeans_jdkhome
variable in the./netbeans-7.X/etc/netbeans.conf
file!)Try changing your Netbeans' Swing Look and Feel to Nimbus.
I had the same issue last night one Ubuntu 13.04
I have openjdk 6 installed and the install was successful but netbeans hung when I tried to create a new project.
Today I managed to solve it after screaming at my computer and scaring my girlfriend :)
Pretty sure this solved it.
Go to https://netbeans.org/community/releases/73/install.html#install_windows and you'll see that you need to
chmod
the installer:before you install...
Once I did this I got an executable netbeans on my desktop (for some reason not listed in applications).
One thing to note about the installer, for me it said it couldn't get access to some JUNIT packages, i selected 'quit these modules' or something similar, and the rest of the installation worked fine.
I hope this solves your issue too!
I've been having this problem for a couple of days and it's been totally winding me up.
Just resolved it however by changing my version of Java from OpenJDK to Oracle
These might help you -
http://kiranscience.blogspot.co.uk/2012/08/remove-openjdkjre-from-ubuntu-1204.html
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
I solved it by upgrading to open-jdk 7.
I had run in to the same problem and a few others trying to get Netbeans to work on 12.04LTS, this is how I managed to have a full working copy.
I (please don't shot me) used a windows device to download the full Netbeans package from the Netbeans website.
I then transferred the .sh file to my desktop, then I needed to change the permissions to allow the file to be executed, with;
then I simply installed the file with;
Netbeans does not show up in applications but there is a launcher on the desktop.
Hope this is of some help to someone :)
For me changing
to
in the netbeans.conf file worked. :) :)