You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Juan Miguel Escribano <ju...@gmail.com> on 2019/06/18 17:52:55 UTC
Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
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
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Neil C Smith <ne...@apache.org>.
On Wed, 19 Jun 2019 at 12:45, Geertjan Wielenga <ge...@apache.org> 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 - I'm testing
here with it edited at the moment on Linux.
What about running
netbeans --jdkhome
/Library/Java/JavaVirtualMachines/jdk1.8.0_212.jdk/Contents/Home
?
Best wishes,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Juan Miguel Escribano <ju...@gmail.com>.
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 <ge...@apache.org>, escribió:
> 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 Server VM 25.191-b12
> Runtime: Java(TM) SE Runtime Environment 1.8.0_191-b12
> System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)
>
> So, works for me, anyway.
>
> Gj
>
> > On Wed, Jun 19, 2019 at 1:58 PM Juan Miguel Escribano <ju...@gmail.com> wrote:
> > > 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 Netbeans 11.1 runs on jdk 12.
> > >
> > > Best,
> > > Juan Miguel
> > > El 19 jun 2019 13:45 +0200, Geertjan Wielenga <ge...@apache.org>, escribió:
> > > > 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 <ju...@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....@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-unsubscribe@netbeans.apache.org
> > > > > > > For additional commands, e-mail: users-help@netbeans.apache.org
> > > > > > >
> > > > > > > For further information about the NetBeans mailing lists, visit:
> > > > > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Geertjan Wielenga <ge...@apache.org>.
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 Server VM 25.191-b12
*Runtime:* Java(TM) SE Runtime Environment 1.8.0_191-b12
*System:* Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)
So, works for me, anyway.
Gj
On Wed, Jun 19, 2019 at 1:58 PM Juan Miguel Escribano <ju...@gmail.com>
wrote:
> 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 Netbeans 11.1 runs on jdk 12.
>
> Best,
> *Juan Miguel*
> El 19 jun 2019 13:45 +0200, Geertjan Wielenga <ge...@apache.org>,
> escribió:
>
> 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.escri@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....@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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Juan Miguel Escribano <ju...@gmail.com>.
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 Netbeans 11.1 runs on jdk 12.
Best,
Juan Miguel
El 19 jun 2019 13:45 +0200, Geertjan Wielenga <ge...@apache.org>, escribió:
> 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 <ju...@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....@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-unsubscribe@netbeans.apache.org
> > > > For additional commands, e-mail: users-help@netbeans.apache.org
> > > >
> > > > For further information about the NetBeans mailing lists, visit:
> > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Geertjan Wielenga <ge...@apache.org>.
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 <ju...@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....@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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Juan Miguel Escribano <ju...@gmail.com>.
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 <h....@gmx.at>, escribió:
> 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 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 schrieb 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 <h....@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-unsubscribe@netbeans.apache.org
> > > > For additional commands, e-mail: users-help@netbeans.apache.org
> > > >
> > > > For further information about the NetBeans mailing lists, visit:
> > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Helmut Leininger <h....@gmx.at>.
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 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 schrieb 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 <h....@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-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Helmut Leininger <h....@gmx.at>.
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 schrieb 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 <h....@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-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Juan Miguel Escribano <ju...@gmail.com>.
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....@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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 11.1 and netbeans_jdkhome in netbeans.conf
Posted by Helmut Leininger <h....@gmx.at>.
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/