netbeans-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emilio - Rareitor <>
Subject Re: [netbeans] [JDK] Sudden inability to start netbeans on any platform
Date Sat, 06 Oct 2018 04:43:36 GMT
Hello again. Finally got it to work with JDK builds of 8, 10 and 11, so in the end it was probably
something about the way I pointed Netbeans at the path.


From: Peter Steele <>
Sent: Sunday, September 30, 2018 3:48 AM
To: Emilio - Rareitor
Subject: Re: [netbeans] [JDK] Sudden inability to start netbeans on any platform

I have netbeans running on open jdk 11 on ubuntu and havent had issues so I suspect it could
be something to do with your setup (unless there are windows specific issues). When you run
java --version what output do you get? Can you paste the output of this from your machine?

On Sun, 30 Sep 2018, 09:19 Emilio - Rareitor, <<>>

Yes, I am aware of that, but the strange thing about it is that previous to this attempt Netbeans
9 ran with no problems (that I could identify) on JDK 10 and suddenly, after uninstalling
it and trying 11, it would not or could not identify JDK 10 as a valid platform again, even
though I had just been using it. Again, I might be missing a step in configuring the JDK and
PATH here that could be the real reason it doesn't work.

I do understand how this issue might as well be ignored since the roadmap for Netbeans is
far past version 9, but I'll try a few more JDK versions and builds tomorrow anyway, see if
something different pops up.

Thank you


From: Geertjan Wielenga <>
Sent: Sunday, September 30, 2018 2:51 AM
Subject: Re: [netbeans] [JDK] Sudden inability to start netbeans on any platform

I don't think anyone has claimed that NetBeans 9 should run on JDK 11.

How would that be possible anyway, JDK 11 was released months after NetBeans 9.

Better to try the work we're putting together right now for NetBeans 10:

GitHub - apache/incubator-netbeans: Apache Netbeans ...<><>
Apache Netbeans (Incubating). Contribute to apache/incubator-netbeans development by creating
an account on GitHub.


On Sun, Sep 30, 2018 at 9:48 AM Emilio - Rareitor <<>>

I wanted to try the new JDK 11 on Windows 10 1803, so I downloaded the Oracle OpenJDK build,
and changed the netbeans.conf line that sets the jdkhome variable. It did not work then, as
the "Invalid jdkhome specified" message popup appeared, and then the "Cannot find Java 1.8
or higher" error message. I uninstalled the previous JDK (10) I was using before trying this.

This happens as well with the PATH  system variable modified to include the path to the jdk\bin
folder, or when running the .exe file (32 or 64 bit) from cmd or pwsh with the --jdkhome <path>
flag set to said \bin. Later on I tested with AdoptOpenJDK and Azul Zulu builds of JDK 10,
and then installed Oracle's JAVA SE 10. None of these would allow me to run Netbeans 9 again.

The last thing I tried was to run a clean copy of the Netbeans 9 build, freshly downloaded
from the Apache site, but there was no difference.

I'd appreciate any possible clarification of this issue, whether it might be the need to build
a more up to date version of Netbeans, or some step in setting up the JDK environment I am
skipping by mistake.

Thank you



View raw message