Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans 8.2 not responding

I am brand new to computer programming for CIS 210 and it's off to terrible start. Downloaded JDK 9 and Netbeans 8.2. Netbeans won't let me open a new project or file. No error message or anything, almost as if I'm not clicking it. Screen remains blank as seen in the link below. It's driving me insane.

Blank Screen when I click on new project:

enter image description here

like image 847
Andrew Hitchcock Avatar asked Dec 18 '22 04:12

Andrew Hitchcock


2 Answers

If you had Netbeans installation over Java 9 then Please note Netbeans does not work with Java 9. Proof: [https://forums.netbeans.org/topic68000.html][1]

The solution is for Windows, but the same logic applied in Linux too.

Solution1: You have to edit netbeans.conf find to your java installation path. You can find netbeans.conf inside etc folder of Netbeans installation folder.

Make your netbeans.conf like below. Eg, netbeans_jdkhome="C:\Program Files (x86)\Java\jdk1.8.0_144"

like image 71
Uddhav P. Gautam Avatar answered Dec 28 '22 02:12

Uddhav P. Gautam


NetBeans 8.2 does not support Java 9. It just won't work.

The solution is to download the latest nightly build of NetBeans, which does support Java 9:

  • Normally you would go to the NetBeans download page and click the Development link in the top right corner of the screen.

  • However, I just tried that and it looks like their web page for downloading nightly builds is not working properly at the moment due to "...violates the following Content Security Policy directive..." errors. I've never seen that before.

  • A temporary workaround for that problem is to go directly to Index of /download/trunk/nightly/latest/bundles/ and select the download that is appropriate for your environment. You should be able to parse the file names to work out which one you want, depending on whether you need 32-bit or 64-bit, whether you are running on Mac OS or Linux or Windows, etc. (To be clear, ignore this bullet point if the Development link in the first bullet point above is working properly.)

Also note that you can safely install and run multiple versions of NetBeans concurrently: use version 8.2 for Java 8 development, and use the Development Version of NetBeans for Java 9 development.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Update:

The page for downloading Development Builds of NetBeans is working again, so go there, select your Platform from the droplist, and then click the appropriate Download button.

NetBeans with Java 9 is working fine for me using that approach.

like image 42
skomisa Avatar answered Dec 28 '22 03:12

skomisa