Tuesday, October 8, 2013

Netbeans - Choose Project Please Wait Error

Netbeans does not load php projects.
Netbeans - ' Scanning Projects ' Process Hangs




If you are not able to add projects in Netbeans. Whenever you want to add, it sticks on 'choose project' status.

Nebeans requires Java (jdk) to start and use. The problem is because you have installed openjdk , If you install oracle java, you will not face this problem.

Click here to see how to install Oracle Java or if you are using Ubuntu, click here.
Now open Netbeans.

But

If you are facing problem to install Oracle Java or the process is very Lengthy, this post is for you.

Follow these steps and you will get rid off this Netbeans issue.

If you have installed openjdk-6 or openjdk-7, just leave it, do not remove it.

Download complete package of netbeans with oracle java from here
If you are using 32 bit system, download the file Linux x86 or if you have 64 bit system, download the file Linux x64

Now you have to execute this file, 
Run following command to execute this file :
# sh /path/of/downloaded/sh-file.sh
Complete the wizard.

Note :
If above command gives you permission denied error, it means your downloaded sh file is not executable, make it executable using
chmod a+x /path/of/downloaded/sh-file.sh
When Netbeans will be installed, Open Available Plugin tab and Install php plugins from it.

Now you are ready to use Netbeans for PHP projects without getting "choose project please wait" error.