You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Nelligan, Steven M" <sn...@illinois.edu> on 2019/08/21 10:29:18 UTC

Problem with setting default JDK in NetBeans 11.1


I am running NetBeans 11.1 and need to set Java 7 as my default JDK Platform for development.

I edit netbeans.conf, in the etc folder, changing the value of "netbeans_jdkhome" to point to java 7.

When I try to start Netbeans I get the following Error "Cannot find class org/netbeans/Main."

How can I set Java 7 as my default JDK?



Steven M Nelligan
APPLICATION DEVELOPER
Facilities and Services
Information Technology Services
University of Illinois at Urbana-Champaign
Facilities and Services
1501 S. Oak Street | M/C 800
Champaign, IL 61820
217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu<ma...@illinois.edu>
www.fs.illinois.edu<http://www.fs.illinois.edu/>

[facebook]<https://www.facebook.com/UniversityOfIllinoisFacilitiesServices>    [twitter] <https://twitter.com/UofIFS>     [instagram] <https://www.instagram.com/uofifs/>     [youtube] <https://www.youtube.com/user/UofIFS>

[https://webtools.illinois.edu/webservices/js/ds/signature_logo.png]<http://illinois.edu/>

Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.


Re: Problem with setting default JDK in NetBeans 11.1

Posted by Geertjan Wielenga <ge...@apache.org>.
The default JDK is the JDK on which NetBeans starts. NetBeans does not
start on a JDK lower than JDK 8. Therefore the default JDK cannot be below
JDK 8.

Why is this so important, if you can explain the context of this, then we
can see how we can help.

Thanks,

Gj

On Wed, Aug 21, 2019 at 3:06 PM Nelligan, Steven M <sn...@illinois.edu>
wrote:

> Does the same in NetBeans 11.0
>
> Sent from my iPhone
>
> On Aug 21, 2019, at 8:01 AM, Geertjan Wielenga <ge...@apache.org>
> wrote:
>
> You can't!  Unfortunately this is broken in NB 11.1, but might be
>> fixed in NB 11.2.  For now, you'll probably have to stick with NB
>> 11.0.
>>
>> See -
>>
>>
>> https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apache.org_thread.html_3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c-40-253Cusers.netbeans.apache.org-253E&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=BZEcn6P1yZh__59lcU32IX9UlZ3--z57jGhMYJXUTg8&e=>
>> https://issues.apache.org/jira/browse/NETBEANS-2884
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_NETBEANS-2D2884&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=bhVra63SwYPfDXH-alZlvu5hvQ6nxdTSZHCjIROBtcg&e=>
>> https://issues.apache.org/jira/browse/NETBEANS-2878
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_NETBEANS-2D2878&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=6qlN0HtB-WrwN3L85E7uuPfnDRTkjDzxPgCw3aItaAE&e=>
>> https://github.com/apache/netbeans/pull/1396
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_netbeans_pull_1396&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=jVr1dxftvOvmx87a-iko9oLhlmIbDJc_KpA7PAogYs0&e=>
>>
>> Best wishes,
>>
>> Neil
>>
>
> On Wed, Aug 21, 2019 at 2:08 PM Nelligan, Steven M <sn...@illinois.edu>
> wrote:
>
>> I need to build to JDK 1.7
>> So how do I set JDK 1.7 as the default?
>>
>> When I try to change the #netbeans_jdkhome to JDK1.7, I get an error when
>> trying to start Netbeans.
>>
>>
>>
>> STEVEN M NELLIGAN
>> APPLICATION DEVELOPER
>>
>> Facilities and Services
>> Information Technology Services
>> University of Illinois at Urbana-Champaign
>> Facilities and Services
>> 1501 S. Oak Street | M/C 800
>> Champaign, IL 61820
>> 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu
>> www.fs.illinois.edu
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fs.illinois.edu&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=ojr-JIuwq-CW2CTPGuMi16aLi51fBGS1BUP9UnzJhu4&e=>
>>
>>
>>
>>
>>
>> Under the Illinois Freedom of Information Act any written communication
>> to or from university employees regarding university business is a public
>> record and may be subject to public disclosure.
>>
>>
>> -----Original Message-----
>> From: Kai Uwe Pel <ka...@asia.com>
>> Sent: Wednesday, August 21, 2019 6:58 AM
>> To: users@netbeans.apache.org; Nelligan, Steven M <sn...@illinois.edu>
>> Subject: Re: Problem with setting default JDK in NetBeans 11.1
>>
>> Hi Nelligan,
>>
>> for example, /./etc/netbeans.conf
>>
>> #netbeans_jdkhome="/path/to/jdk"
>>
>> #netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_202"
>> #netbeans_jdkhome="C:\Program Files\Java\jdk-9.0.4"
>> #netbeans_jdkhome="C:\Program Files\Java\jdk-10.0.2"
>> netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4"
>> #netbeans_jdkhome="C:\Program Files\Java\jdk-12.0.1"
>>
>> Regards,
>> Kai
>>
>>
>> On 8/21/2019 1:50 PM, Nelligan, Steven M wrote:
>> > I've installed Version 11.0.
>> >
>> > I have the following JDK installed:
>> >       JDK 1.7
>> >       JDK 10
>> >       JDK 11 (Default)
>> >       JDK 9
>> >
>> > How do I make JDK 1.7 the default?
>> >
>> > In earlier version of Netbeans, this was done by setting
>> "netbeans_jdkhome" this would set the default JDK.
>> >
>> > STEVEN M NELLIGAN
>> > APPLICATION DEVELOPER
>> >
>> > Facilities and Services
>> > Information Technology Services
>> > University of Illinois at Urbana-Champaign Facilities and Services
>> > 1501 S. Oak Street | M/C 800
>> > Champaign, IL 61820
>> > 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu
>> > www.fs.illinois.edu
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fs.illinois.edu&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=ojr-JIuwq-CW2CTPGuMi16aLi51fBGS1BUP9UnzJhu4&e=>
>> >
>> >
>> >
>> >
>> >
>> > Under the Illinois Freedom of Information Act any written communication
>> to or from university employees regarding university business is a public
>> record and may be subject to public disclosure.
>> >
>> > -----Original Message-----
>> > From: Neil C Smith <ne...@apache.org>
>> > Sent: Wednesday, August 21, 2019 5:56 AM
>> > To: Nelligan, Steven M <sn...@illinois.edu>
>> > Cc: Geertjan Wielenga <ge...@apache.org>; NetBeans Mailing List
>> > <us...@netbeans.apache.org>
>> > Subject: Re: Problem with setting default JDK in NetBeans 11.1
>> >
>> > On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M <sn...@illinois.edu>
>> wrote:
>> >> That is true, but Netbeans runs on JDK 11, but I want to build my
>> applications using jdk-7.
>> >>
>> >> How do I set the default JDK within the Netbeans environment to build
>> and run using jdk-7?
>> > You can't!  Unfortunately this is broken in NB 11.1, but might be fixed
>> in NB 11.2.  For now, you'll probably have to stick with NB 11.0.
>> >
>> > See -
>> >
>> > https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apache.org_thread.html_3d58770cde1095decec22864057657337&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=HX9jFJNC0GgiSvoZ-EfSXD5HDBewFg6qt4ZBW_W0az4&e=>
>> > 345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__3Cusers.netbeans.apache.org&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=dnWyg2ENP96ESyvyYVjUyJI4KnhYtTjQQ4-UC6iLpO8&e=>
>> %3E
>> > https://issues.apache.org/jira/browse/NETBEANS-2884
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_NETBEANS-2D2884&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=bhVra63SwYPfDXH-alZlvu5hvQ6nxdTSZHCjIROBtcg&e=>
>> > https://issues.apache.org/jira/browse/NETBEANS-2878
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_NETBEANS-2D2878&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=6qlN0HtB-WrwN3L85E7uuPfnDRTkjDzxPgCw3aItaAE&e=>
>> > https://github.com/apache/netbeans/pull/1396
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_netbeans_pull_1396&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=jVr1dxftvOvmx87a-iko9oLhlmIbDJc_KpA7PAogYs0&e=>
>> >
>> > 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
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=NAKsvMv_k7mXJSJvLPBcU_e_-RlWuV2vWNQ-FFeAeik&e=>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > 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
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=NAKsvMv_k7mXJSJvLPBcU_e_-RlWuV2vWNQ-FFeAeik&e=>
>> >
>>
>>

Re: Problem with setting default JDK in NetBeans 11.1

Posted by "Nelligan, Steven M" <sn...@illinois.edu>.
Does the same in NetBeans 11.0

Sent from my iPhone

On Aug 21, 2019, at 8:01 AM, Geertjan Wielenga <ge...@apache.org>> wrote:

You can't!  Unfortunately this is broken in NB 11.1, but might be
fixed in NB 11.2.  For now, you'll probably have to stick with NB
11.0.

See -

https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apache.org_thread.html_3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c-40-253Cusers.netbeans.apache.org-253E&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=BZEcn6P1yZh__59lcU32IX9UlZ3--z57jGhMYJXUTg8&e=>
https://issues.apache.org/jira/browse/NETBEANS-2884<https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_NETBEANS-2D2884&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=bhVra63SwYPfDXH-alZlvu5hvQ6nxdTSZHCjIROBtcg&e=>
https://issues.apache.org/jira/browse/NETBEANS-2878<https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_NETBEANS-2D2878&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=6qlN0HtB-WrwN3L85E7uuPfnDRTkjDzxPgCw3aItaAE&e=>
https://github.com/apache/netbeans/pull/1396<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_netbeans_pull_1396&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=jVr1dxftvOvmx87a-iko9oLhlmIbDJc_KpA7PAogYs0&e=>

Best wishes,

Neil

On Wed, Aug 21, 2019 at 2:08 PM Nelligan, Steven M <sn...@illinois.edu>> wrote:
I need to build to JDK 1.7
So how do I set JDK 1.7 as the default?

When I try to change the #netbeans_jdkhome to JDK1.7, I get an error when trying to start Netbeans.



STEVEN M NELLIGAN
APPLICATION DEVELOPER

Facilities and Services
Information Technology Services
University of Illinois at Urbana-Champaign
Facilities and Services
1501 S. Oak Street | M/C 800
Champaign, IL 61820
217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu<ma...@illinois.edu>
www.fs.illinois.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fs.illinois.edu&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=ojr-JIuwq-CW2CTPGuMi16aLi51fBGS1BUP9UnzJhu4&e=>





Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.


-----Original Message-----
From: Kai Uwe Pel <ka...@asia.com>>
Sent: Wednesday, August 21, 2019 6:58 AM
To: users@netbeans.apache.org<ma...@netbeans.apache.org>; Nelligan, Steven M <sn...@illinois.edu>>
Subject: Re: Problem with setting default JDK in NetBeans 11.1

Hi Nelligan,

for example, /./etc/netbeans.conf

#netbeans_jdkhome="/path/to/jdk"

#netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_202"
#netbeans_jdkhome="C:\Program Files\Java\jdk-9.0.4"
#netbeans_jdkhome="C:\Program Files\Java\jdk-10.0.2"
netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4"
#netbeans_jdkhome="C:\Program Files\Java\jdk-12.0.1"

Regards,
Kai


On 8/21/2019 1:50 PM, Nelligan, Steven M wrote:
> I've installed Version 11.0.
>
> I have the following JDK installed:
>       JDK 1.7
>       JDK 10
>       JDK 11 (Default)
>       JDK 9
>
> How do I make JDK 1.7 the default?
>
> In earlier version of Netbeans, this was done by setting "netbeans_jdkhome" this would set the default JDK.
>
> STEVEN M NELLIGAN
> APPLICATION DEVELOPER
>
> Facilities and Services
> Information Technology Services
> University of Illinois at Urbana-Champaign Facilities and Services
> 1501 S. Oak Street | M/C 800
> Champaign, IL 61820
> 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu<ma...@illinois.edu>
> www.fs.illinois.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fs.illinois.edu&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=ojr-JIuwq-CW2CTPGuMi16aLi51fBGS1BUP9UnzJhu4&e=>
>
>
>
>
>
> Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.
>
> -----Original Message-----
> From: Neil C Smith <ne...@apache.org>>
> Sent: Wednesday, August 21, 2019 5:56 AM
> To: Nelligan, Steven M <sn...@illinois.edu>>
> Cc: Geertjan Wielenga <ge...@apache.org>>; NetBeans Mailing List
> <us...@netbeans.apache.org>>
> Subject: Re: Problem with setting default JDK in NetBeans 11.1
>
> On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M <sn...@illinois.edu>> wrote:
>> That is true, but Netbeans runs on JDK 11, but I want to build my applications using jdk-7.
>>
>> How do I set the default JDK within the Netbeans environment to build and run using jdk-7?
> You can't!  Unfortunately this is broken in NB 11.1, but might be fixed in NB 11.2.  For now, you'll probably have to stick with NB 11.0.
>
> See -
>
> https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apache.org_thread.html_3d58770cde1095decec22864057657337&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=HX9jFJNC0GgiSvoZ-EfSXD5HDBewFg6qt4ZBW_W0az4&e=>
> 345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__3Cusers.netbeans.apache.org&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=dnWyg2ENP96ESyvyYVjUyJI4KnhYtTjQQ4-UC6iLpO8&e=>%3E
> https://issues.apache.org/jira/browse/NETBEANS-2884<https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_NETBEANS-2D2884&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=bhVra63SwYPfDXH-alZlvu5hvQ6nxdTSZHCjIROBtcg&e=>
> https://issues.apache.org/jira/browse/NETBEANS-2878<https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_NETBEANS-2D2878&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=6qlN0HtB-WrwN3L85E7uuPfnDRTkjDzxPgCw3aItaAE&e=>
> https://github.com/apache/netbeans/pull/1396<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_netbeans_pull_1396&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=jVr1dxftvOvmx87a-iko9oLhlmIbDJc_KpA7PAogYs0&e=>
>
> Best wishes,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org<ma...@netbeans.apache.org>
> For additional commands, e-mail: users-help@netbeans.apache.org<ma...@netbeans.apache.org>
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=NAKsvMv_k7mXJSJvLPBcU_e_-RlWuV2vWNQ-FFeAeik&e=>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org<ma...@netbeans.apache.org>
> For additional commands, e-mail: users-help@netbeans.apache.org<ma...@netbeans.apache.org>
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=EY1yGjFcQ64aMw3WNj6BrHwXqQ2Ti9tUjwCQ1TqSGQY&s=NAKsvMv_k7mXJSJvLPBcU_e_-RlWuV2vWNQ-FFeAeik&e=>
>


Re: Problem with setting default JDK in NetBeans 11.1

Posted by Geertjan Wielenga <ge...@apache.org>.
>
> You can't!  Unfortunately this is broken in NB 11.1, but might be
> fixed in NB 11.2.  For now, you'll probably have to stick with NB
> 11.0.
>
> See -
>
>
> https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
> https://issues.apache.org/jira/browse/NETBEANS-2884
> https://issues.apache.org/jira/browse/NETBEANS-2878
> https://github.com/apache/netbeans/pull/1396
>
> Best wishes,
>
> Neil
>

On Wed, Aug 21, 2019 at 2:08 PM Nelligan, Steven M <sn...@illinois.edu>
wrote:

> I need to build to JDK 1.7
> So how do I set JDK 1.7 as the default?
>
> When I try to change the #netbeans_jdkhome to JDK1.7, I get an error when
> trying to start Netbeans.
>
>
>
> STEVEN M NELLIGAN
> APPLICATION DEVELOPER
>
> Facilities and Services
> Information Technology Services
> University of Illinois at Urbana-Champaign
> Facilities and Services
> 1501 S. Oak Street | M/C 800
> Champaign, IL 61820
> 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu
> www.fs.illinois.edu
>
>
>
>
>
> Under the Illinois Freedom of Information Act any written communication to
> or from university employees regarding university business is a public
> record and may be subject to public disclosure.
>
>
> -----Original Message-----
> From: Kai Uwe Pel <ka...@asia.com>
> Sent: Wednesday, August 21, 2019 6:58 AM
> To: users@netbeans.apache.org; Nelligan, Steven M <sn...@illinois.edu>
> Subject: Re: Problem with setting default JDK in NetBeans 11.1
>
> Hi Nelligan,
>
> for example, /./etc/netbeans.conf
>
> #netbeans_jdkhome="/path/to/jdk"
>
> #netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_202"
> #netbeans_jdkhome="C:\Program Files\Java\jdk-9.0.4"
> #netbeans_jdkhome="C:\Program Files\Java\jdk-10.0.2"
> netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4"
> #netbeans_jdkhome="C:\Program Files\Java\jdk-12.0.1"
>
> Regards,
> Kai
>
>
> On 8/21/2019 1:50 PM, Nelligan, Steven M wrote:
> > I've installed Version 11.0.
> >
> > I have the following JDK installed:
> >       JDK 1.7
> >       JDK 10
> >       JDK 11 (Default)
> >       JDK 9
> >
> > How do I make JDK 1.7 the default?
> >
> > In earlier version of Netbeans, this was done by setting
> "netbeans_jdkhome" this would set the default JDK.
> >
> > STEVEN M NELLIGAN
> > APPLICATION DEVELOPER
> >
> > Facilities and Services
> > Information Technology Services
> > University of Illinois at Urbana-Champaign Facilities and Services
> > 1501 S. Oak Street | M/C 800
> > Champaign, IL 61820
> > 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu
> > www.fs.illinois.edu
> >
> >
> >
> >
> >
> > Under the Illinois Freedom of Information Act any written communication
> to or from university employees regarding university business is a public
> record and may be subject to public disclosure.
> >
> > -----Original Message-----
> > From: Neil C Smith <ne...@apache.org>
> > Sent: Wednesday, August 21, 2019 5:56 AM
> > To: Nelligan, Steven M <sn...@illinois.edu>
> > Cc: Geertjan Wielenga <ge...@apache.org>; NetBeans Mailing List
> > <us...@netbeans.apache.org>
> > Subject: Re: Problem with setting default JDK in NetBeans 11.1
> >
> > On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M <sn...@illinois.edu>
> wrote:
> >> That is true, but Netbeans runs on JDK 11, but I want to build my
> applications using jdk-7.
> >>
> >> How do I set the default JDK within the Netbeans environment to build
> and run using jdk-7?
> > You can't!  Unfortunately this is broken in NB 11.1, but might be fixed
> in NB 11.2.  For now, you'll probably have to stick with NB 11.0.
> >
> > See -
> >
> > https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337
> > 345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
> > https://issues.apache.org/jira/browse/NETBEANS-2884
> > https://issues.apache.org/jira/browse/NETBEANS-2878
> > https://github.com/apache/netbeans/pull/1396
> >
> > 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
> >
> >
> > ---------------------------------------------------------------------
> > 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: Problem with setting default JDK in NetBeans 11.1

Posted by Christoph Theis <th...@gmx.at>.
Dear Steven,

from what I read it turns around to make 1.7 the default platform. I
don't think it is necessary in order to build a project with a specific
JDK to make that JDK the default. Instead, you can add other platforms
to Netbeans (Tools / Java Platforms) and then select one of these in
Properties / Libraries / Java Platform.

Still, your mileage may vary when it comes to if Netbeans accepts 1.7 as
a platform or not, I haven't tried it with 1.7. But certainly you don't
have to run Netbeans on the platform you want to build on.

Am 21.08.2019 um 13:08 schrieb Nelligan, Steven M:
> I need to build to JDK 1.7
> So how do I set JDK 1.7 as the default?
>
> When I try to change the #netbeans_jdkhome to JDK1.7, I get an error when trying to start Netbeans.
>
>
>
> STEVEN M NELLIGAN
> APPLICATION DEVELOPER
>
> Facilities and Services
> Information Technology Services
> University of Illinois at Urbana-Champaign
> Facilities and Services
> 1501 S. Oak Street | M/C 800
> Champaign, IL 61820
> 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu
> www.fs.illinois.edu
>
>
>
>
>
> Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.
>
>
> -----Original Message-----
> From: Kai Uwe Pel <ka...@asia.com>
> Sent: Wednesday, August 21, 2019 6:58 AM
> To: users@netbeans.apache.org; Nelligan, Steven M <sn...@illinois.edu>
> Subject: Re: Problem with setting default JDK in NetBeans 11.1
>
> Hi Nelligan,
>
> for example, /./etc/netbeans.conf
>
> #netbeans_jdkhome="/path/to/jdk"
>
> #netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_202"
> #netbeans_jdkhome="C:\Program Files\Java\jdk-9.0.4"
> #netbeans_jdkhome="C:\Program Files\Java\jdk-10.0.2"
> netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4"
> #netbeans_jdkhome="C:\Program Files\Java\jdk-12.0.1"
>
> Regards,
> Kai
>
>
> On 8/21/2019 1:50 PM, Nelligan, Steven M wrote:
>> I've installed Version 11.0.
>>
>> I have the following JDK installed:
>> 	JDK 1.7
>> 	JDK 10
>> 	JDK 11 (Default)
>> 	JDK 9
>>
>> How do I make JDK 1.7 the default?
>>
>> In earlier version of Netbeans, this was done by setting "netbeans_jdkhome" this would set the default JDK.
>>
>> STEVEN M NELLIGAN
>> APPLICATION DEVELOPER
>>
>> Facilities and Services
>> Information Technology Services
>> University of Illinois at Urbana-Champaign Facilities and Services
>> 1501 S. Oak Street | M/C 800
>> Champaign, IL 61820
>> 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu
>> www.fs.illinois.edu
>>
>>
>>
>>
>>
>> Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.
>>
>> -----Original Message-----
>> From: Neil C Smith <ne...@apache.org>
>> Sent: Wednesday, August 21, 2019 5:56 AM
>> To: Nelligan, Steven M <sn...@illinois.edu>
>> Cc: Geertjan Wielenga <ge...@apache.org>; NetBeans Mailing List
>> <us...@netbeans.apache.org>
>> Subject: Re: Problem with setting default JDK in NetBeans 11.1
>>
>> On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M <sn...@illinois.edu> wrote:
>>> That is true, but Netbeans runs on JDK 11, but I want to build my applications using jdk-7.
>>>
>>> How do I set the default JDK within the Netbeans environment to build and run using jdk-7?
>> You can't!  Unfortunately this is broken in NB 11.1, but might be fixed in NB 11.2.  For now, you'll probably have to stick with NB 11.0.
>>
>> See -
>>
>> https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337
>> 345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
>> https://issues.apache.org/jira/browse/NETBEANS-2884
>> https://issues.apache.org/jira/browse/NETBEANS-2878
>> https://github.com/apache/netbeans/pull/1396
>>
>> 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
>>
>>
>> ---------------------------------------------------------------------
>> 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
>


---------------------------------------------------------------------
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: Problem with setting default JDK in NetBeans 11.1

Posted by "Nelligan, Steven M" <sn...@illinois.edu>.
I need to build to JDK 1.7
So how do I set JDK 1.7 as the default?

When I try to change the #netbeans_jdkhome to JDK1.7, I get an error when trying to start Netbeans.



STEVEN M NELLIGAN
APPLICATION DEVELOPER
 
Facilities and Services
Information Technology Services
University of Illinois at Urbana-Champaign
Facilities and Services
1501 S. Oak Street | M/C 800
Champaign, IL 61820
217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu
www.fs.illinois.edu
 
                 



Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.


-----Original Message-----
From: Kai Uwe Pel <ka...@asia.com> 
Sent: Wednesday, August 21, 2019 6:58 AM
To: users@netbeans.apache.org; Nelligan, Steven M <sn...@illinois.edu>
Subject: Re: Problem with setting default JDK in NetBeans 11.1

Hi Nelligan,

for example, /./etc/netbeans.conf

#netbeans_jdkhome="/path/to/jdk"

#netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_202"
#netbeans_jdkhome="C:\Program Files\Java\jdk-9.0.4"
#netbeans_jdkhome="C:\Program Files\Java\jdk-10.0.2"
netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4"
#netbeans_jdkhome="C:\Program Files\Java\jdk-12.0.1"

Regards,
Kai


On 8/21/2019 1:50 PM, Nelligan, Steven M wrote:
> I've installed Version 11.0.
>
> I have the following JDK installed:
> 	JDK 1.7
> 	JDK 10
> 	JDK 11 (Default)
> 	JDK 9
>
> How do I make JDK 1.7 the default?
>
> In earlier version of Netbeans, this was done by setting "netbeans_jdkhome" this would set the default JDK.
>
> STEVEN M NELLIGAN
> APPLICATION DEVELOPER
>
> Facilities and Services
> Information Technology Services
> University of Illinois at Urbana-Champaign Facilities and Services
> 1501 S. Oak Street | M/C 800
> Champaign, IL 61820
> 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu 
> www.fs.illinois.edu
>
>
>
>
>
> Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.
>
> -----Original Message-----
> From: Neil C Smith <ne...@apache.org>
> Sent: Wednesday, August 21, 2019 5:56 AM
> To: Nelligan, Steven M <sn...@illinois.edu>
> Cc: Geertjan Wielenga <ge...@apache.org>; NetBeans Mailing List 
> <us...@netbeans.apache.org>
> Subject: Re: Problem with setting default JDK in NetBeans 11.1
>
> On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M <sn...@illinois.edu> wrote:
>> That is true, but Netbeans runs on JDK 11, but I want to build my applications using jdk-7.
>>
>> How do I set the default JDK within the Netbeans environment to build and run using jdk-7?
> You can't!  Unfortunately this is broken in NB 11.1, but might be fixed in NB 11.2.  For now, you'll probably have to stick with NB 11.0.
>
> See -
>
> https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337
> 345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
> https://issues.apache.org/jira/browse/NETBEANS-2884
> https://issues.apache.org/jira/browse/NETBEANS-2878
> https://github.com/apache/netbeans/pull/1396
>
> 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
>
>
> ---------------------------------------------------------------------
> 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: Problem with setting default JDK in NetBeans 11.1

Posted by Kai Uwe Pel <ka...@asia.com>.
Hi Nelligan,

for example, /./etc/netbeans.conf

#netbeans_jdkhome="/path/to/jdk"

#netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_202"
#netbeans_jdkhome="C:\Program Files\Java\jdk-9.0.4"
#netbeans_jdkhome="C:\Program Files\Java\jdk-10.0.2"
netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4"
#netbeans_jdkhome="C:\Program Files\Java\jdk-12.0.1"

Regards,
Kai


On 8/21/2019 1:50 PM, Nelligan, Steven M wrote:
> I've installed Version 11.0.
>
> I have the following JDK installed:
> 	JDK 1.7
> 	JDK 10
> 	JDK 11 (Default)
> 	JDK 9
>
> How do I make JDK 1.7 the default?
>
> In earlier version of Netbeans, this was done by setting "netbeans_jdkhome" this would set the default JDK.
>
> STEVEN M NELLIGAN
> APPLICATION DEVELOPER
>
> Facilities and Services
> Information Technology Services
> University of Illinois at Urbana-Champaign
> Facilities and Services
> 1501 S. Oak Street | M/C 800
> Champaign, IL 61820
> 217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu
> www.fs.illinois.edu
>
>
>
>
>
> Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.
>
> -----Original Message-----
> From: Neil C Smith <ne...@apache.org>
> Sent: Wednesday, August 21, 2019 5:56 AM
> To: Nelligan, Steven M <sn...@illinois.edu>
> Cc: Geertjan Wielenga <ge...@apache.org>; NetBeans Mailing List <us...@netbeans.apache.org>
> Subject: Re: Problem with setting default JDK in NetBeans 11.1
>
> On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M <sn...@illinois.edu> wrote:
>> That is true, but Netbeans runs on JDK 11, but I want to build my applications using jdk-7.
>>
>> How do I set the default JDK within the Netbeans environment to build and run using jdk-7?
> You can't!  Unfortunately this is broken in NB 11.1, but might be fixed in NB 11.2.  For now, you'll probably have to stick with NB 11.0.
>
> See -
>
> https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
> https://issues.apache.org/jira/browse/NETBEANS-2884
> https://issues.apache.org/jira/browse/NETBEANS-2878
> https://github.com/apache/netbeans/pull/1396
>
> 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
>
>
> ---------------------------------------------------------------------
> 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: Problem with setting default JDK in NetBeans 11.1

Posted by "Nelligan, Steven M" <sn...@illinois.edu>.
I've installed Version 11.0.

I have the following JDK installed:
	JDK 1.7
	JDK 10
	JDK 11 (Default)
	JDK 9

How do I make JDK 1.7 the default?

In earlier version of Netbeans, this was done by setting "netbeans_jdkhome" this would set the default JDK.

STEVEN M NELLIGAN
APPLICATION DEVELOPER
 
Facilities and Services
Information Technology Services
University of Illinois at Urbana-Champaign
Facilities and Services
1501 S. Oak Street | M/C 800
Champaign, IL 61820
217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu
www.fs.illinois.edu
 
                 



Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.

-----Original Message-----
From: Neil C Smith <ne...@apache.org> 
Sent: Wednesday, August 21, 2019 5:56 AM
To: Nelligan, Steven M <sn...@illinois.edu>
Cc: Geertjan Wielenga <ge...@apache.org>; NetBeans Mailing List <us...@netbeans.apache.org>
Subject: Re: Problem with setting default JDK in NetBeans 11.1

On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M <sn...@illinois.edu> wrote:
>
> That is true, but Netbeans runs on JDK 11, but I want to build my applications using jdk-7.
>
> How do I set the default JDK within the Netbeans environment to build and run using jdk-7?

You can't!  Unfortunately this is broken in NB 11.1, but might be fixed in NB 11.2.  For now, you'll probably have to stick with NB 11.0.

See -

https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
https://issues.apache.org/jira/browse/NETBEANS-2884
https://issues.apache.org/jira/browse/NETBEANS-2878
https://github.com/apache/netbeans/pull/1396

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: Problem with setting default JDK in NetBeans 11.1

Posted by Neil C Smith <ne...@apache.org>.
On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M <sn...@illinois.edu> wrote:
>
> That is true, but Netbeans runs on JDK 11, but I want to build my applications using jdk-7.
>
> How do I set the default JDK within the Netbeans environment to build and run using jdk-7?

You can't!  Unfortunately this is broken in NB 11.1, but might be
fixed in NB 11.2.  For now, you'll probably have to stick with NB
11.0.

See -

https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
https://issues.apache.org/jira/browse/NETBEANS-2884
https://issues.apache.org/jira/browse/NETBEANS-2878
https://github.com/apache/netbeans/pull/1396

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: Problem with setting default JDK in NetBeans 11.1

Posted by "Nelligan, Steven M" <sn...@illinois.edu>.
That is true, but Netbeans runs on JDK 11, but I want to build my applications using jdk-7.
How do I set the default JDK within the Netbeans environment to build and run using jdk-7?

Steven M Nelligan
APPLICATION DEVELOPER

Facilities and Services
Information Technology Services
University of Illinois at Urbana-Champaign
Facilities and Services
1501 S. Oak Street | M/C 800
Champaign, IL 61820
217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu<ma...@illinois.edu>
www.fs.illinois.edu<http://www.fs.illinois.edu/>

[facebook]<https://www.facebook.com/UniversityOfIllinoisFacilitiesServices>    [twitter] <https://twitter.com/UofIFS>     [instagram] <https://www.instagram.com/uofifs/>     [youtube] <https://www.youtube.com/user/UofIFS>

[https://webtools.illinois.edu/webservices/js/ds/signature_logo.png]<http://illinois.edu/>

Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.

From: Geertjan Wielenga <ge...@apache.org>
Sent: Wednesday, August 21, 2019 5:31 AM
To: Nelligan, Steven M <sn...@illinois.edu>
Cc: NetBeans Mailing List <us...@netbeans.apache.org>
Subject: Re: Problem with setting default JDK in NetBeans 11.1

NetBeans 11.1 runs on JDK 8 or above.

Gj

On Wed, Aug 21, 2019 at 12:29 PM Nelligan, Steven M <sn...@illinois.edu>> wrote:


I am running NetBeans 11.1 and need to set Java 7 as my default JDK Platform for development.

I edit netbeans.conf, in the etc folder, changing the value of “netbeans_jdkhome” to point to java 7.

When I try to start Netbeans I get the following Error “Cannot find class org/netbeans/Main.”

How can I set Java 7 as my default JDK?



Steven M Nelligan
APPLICATION DEVELOPER
Facilities and Services
Information Technology Services
University of Illinois at Urbana-Champaign
Facilities and Services
1501 S. Oak Street | M/C 800
Champaign, IL 61820
217.244.8097 | other: 217.244.8097 | snelliga@illinois.edu<ma...@illinois.edu>
www.fs.illinois.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fs.illinois.edu_&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=-pBqnCdo9pk0kschN2_m_J2qLNxuLEIfbJOu06pfIeQ&s=9xFFMIJ4siyykzJX3xPZfWWSE_xrqo7wJjOUBTlvSAE&e=>

[facebook]<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.facebook.com_UniversityOfIllinoisFacilitiesServices&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=-pBqnCdo9pk0kschN2_m_J2qLNxuLEIfbJOu06pfIeQ&s=CJ6AdGnhwsSqKdo2gN_dOGl1U3f0sr4IFKzAG-dcqMU&e=>    [twitter] <https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_UofIFS&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=-pBqnCdo9pk0kschN2_m_J2qLNxuLEIfbJOu06pfIeQ&s=aDXWJQiCo1SUEtUDM0_1TeCZeI4tj8HxUE7MqMBOXw4&e=>     [instagram] <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.instagram.com_uofifs_&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=-pBqnCdo9pk0kschN2_m_J2qLNxuLEIfbJOu06pfIeQ&s=2QrkGI9EgZWljBwy7flT9-9YKOuuYxxKmw7va_2Lul4&e=>     [youtube] <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.youtube.com_user_UofIFS&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=-pBqnCdo9pk0kschN2_m_J2qLNxuLEIfbJOu06pfIeQ&s=MVuHyQxXXjocqIc-x9-6cfT8j_bQwfa69m_mvywziKU&e=>

[https://webtools.illinois.edu/webservices/js/ds/signature_logo.png]<https://urldefense.proofpoint.com/v2/url?u=http-3A__illinois.edu_&d=DwMFaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=if2txRdpajj_buQjqjKwLPQUjlaPXEUbuOeovTCoxZI&m=-pBqnCdo9pk0kschN2_m_J2qLNxuLEIfbJOu06pfIeQ&s=HAd1LjZldnlQ4O6lEum2JoESzNG913sYd8vTXWwiPaU&e=>

Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.


Re: Problem with setting default JDK in NetBeans 11.1

Posted by Geertjan Wielenga <ge...@apache.org>.
NetBeans 11.1 runs on JDK 8 or above.

Gj

On Wed, Aug 21, 2019 at 12:29 PM Nelligan, Steven M <sn...@illinois.edu>
wrote:

>
>
>
>
> I am running NetBeans 11.1 and need to set Java 7 as my default JDK
> Platform for development.
>
>
>
> I edit netbeans.conf, in the etc folder, changing the value of
> “netbeans_jdkhome” to point to java 7.
>
>
>
> When I try to start Netbeans I get the following Error “Cannot find class
> org/netbeans/Main.”
>
>
>
> How can I set Java 7 as my default JDK?
>
>
>
>
>
>
>
> *Steven M Nelligan*
> *APPLICATION DEVELOPER*
>
> Facilities and Services
>
> Information Technology Services
> University of Illinois at Urbana-Champaign
> Facilities and Services
> 1501 S. Oak Street | M/C 800
> Champaign, IL 61820
> 217.244.8097 | *other*: 217.244.8097 | snelliga@illinois.edu
> www.fs.illinois.edu
>
> [image: facebook]
> <https://www.facebook.com/UniversityOfIllinoisFacilitiesServices>    [image:
> twitter] <https://twitter.com/UofIFS>    [image: instagram]
> <https://www.instagram.com/uofifs/>    [image: youtube]
> <https://www.youtube.com/user/UofIFS>
>
> [image: https://webtools.illinois.edu/webservices/js/ds/signature_logo.png]
> <http://illinois.edu/>
>
> *Under the Illinois Freedom of Information Act any written communication
> to or from university employees regarding university business is a public
> record and may be subject to public disclosure.*
>
>
>