Andrew Hitchcock
Andrew Hitchcock

Reputation: 39

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

Upvotes: 4

Views: 9648

Answers (3)

Uddhav P. Gautam
Uddhav P. Gautam

Reputation: 7626

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"

Upvotes: 6

skomisa
skomisa

Reputation: 17363

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.

Upvotes: 3

Ravi
Ravi

Reputation: 31407

NetBeans 9 would be supported version for Java 9, which was supposed to be released by Aug 2017

NetBeans 9 will be released from Apache Software Foundation as new Apache project. NetBeans is being donated to ASG by Oracle. NetBeans 9 main theme will be to support this upcoming Java SE 9 release.

Of course, you can use NetBeans daily build, but there won't be guarantee of it's stability.

Upvotes: 2

Related Questions