NetBeans can't magically run on a JDK. That must be set somewhere.
Probably, system wide, you have JDK 12 installed, i.e., check the version
of java and javac on the command line.

Gj

On Wed, Jun 19, 2019 at 1:43 PM Juan Miguel Escribano <juan.es...@gmail.com>
wrote:

> HI Helmut,
>
> Thank for your answer but I have netbeans.conf file edited with the line:
>
>
> netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_212.jdk/Contents/Home”
>
>
> and Netbeans 11.1 still run on jdk 12
>
>
> Best,
> *Juan Miguel*
> El 19 jun 2019 12:44 +0200, Helmut Leininger <h.leinin...@gmx.at>,
> escribió:
>
> I have/had the same problem. You may edit the file
> ..../netbeans/etc/netbeans.conf and set the jdkhome directory. E.g.
>
> #netbeans_jdkhome="/path/to/jdk"
> netbeans_jdkhome="C:\OpenSourceTools\jdk-12"
> Regards
> Helmut
> Am 18.06.2019 um 19:52 schrieb Juan Miguel Escribano:
>
> Hi,
>
> I have started to test Netbeans 11.1 and I can not make it start on JDK 8
> with the netbeans_jdkhome parameter in netbeans.conf file.
>
> In my netbeans.conf file for Netbeans 11.0 I have the following line:
>
> netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_212.jdk/Contents/Home”
>
> And Netbeans 11.0 start on jdk 8.
>
> But Netbeans 11.1 starts on jdk 12 with the same line in netbeans.conf
>
> I have installed in my system jdk 8 and jdk 12, but for one project I need
> Netbeans to start on jdk 8 because the project uses WebServices and build
> fails if Netbeans is over jdk 12.
>
> Any ideas of what can be happening?
>
> Best,
> *Juan Miguel*
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Reply via email to