Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Juan Miguel Escribano
Thank you very much for all your answers. Finally, reinstalling from scratch does the trick. Now running fine on jdk 8 Best, Juan Miguel El 19 jun 2019 14:27 +0200, Helmut Leininger , escribió: > Another question: > after Netbeans has started, did you select the correct Java platform to > compil

Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Juan Miguel Escribano
Thank you very much, Geertjan. The problem must be in my installation so, this afternoon, reinstall from scratch 🤷🏻‍♂️ El 19 jun 2019 14:03 +0200, Geertjan Wielenga , escribió: > Tried to replicate your problem, set this in netbeans.conf: > > netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk

Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Helmut Leininger
Another question: after Netbeans has started, did you select the correct Java platform to compile your project ? Helmut Am 19.06.2019 um 14:11 schrieb Helmut Leininger: > > Hi Juan Miguel, > > you are sure the directory is .../Contents/Home ? For me, it looks a > bit weird. > > Did you eventuall

Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Helmut Leininger
Hi Juan Miguel, you are sure the directory is .../Contents/Home ? For me, it looks a bit weird. Did you eventually specify --jdkhome argument on the comand line (I think it would overrride the settings in .conf) ? Or did you modify the the netbeans start script ? Helmut Am 19.06.2019 um 13:43 s

Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Geertjan Wielenga
Tried to replicate your problem, set this in netbeans.conf: netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home" Now when NetBeans 11.1 starts, I look in the About Box and see: *Product Version:* Apache NetBeans IDE 11.1 *Java:* 1.8.0_191; Java HotSpot(TM) 64-Bit

Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Juan Miguel Escribano
Hi, I have installed jdk 7, 8 and 12. 12 is configured as default in the system (MacOS) so in terminal the java version is 12. But with the same configuration in netbeans.conf : netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_212.jdk/Contents/Home” Netbeans 11.0 runs on jdk 8 and

Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Neil C Smith
On Wed, 19 Jun 2019 at 12:45, Geertjan Wielenga wrote: > 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. That line in .conf should be working to override this

Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Geertjan Wielenga
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 wrote: > HI Helmut, > > Thank for your answer but I have n

Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Juan Miguel Escribano
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 , escribió: > I have

Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-19 Thread Helmut Leininger
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 tes

Netbeans 11.1 and netbeans_jdkhome in netbeans.conf

2019-06-18 Thread 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