Does the same in NetBeans 11.0 Sent from my iPhone
On Aug 21, 2019, at 8:01 AM, Geertjan Wielenga <geert...@apache.org<mailto:geert...@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 <snell...@illinois.edu<mailto:snell...@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 | snell...@illinois.edu<mailto:snell...@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 <kaiuwe...@asia.com<mailto:kaiuwe...@asia.com>> Sent: Wednesday, August 21, 2019 6:58 AM To: users@netbeans.apache.org<mailto:users@netbeans.apache.org>; Nelligan, Steven M <snell...@illinois.edu<mailto:snell...@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 | > snell...@illinois.edu<mailto:snell...@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 <neilcsm...@apache.org<mailto:neilcsm...@apache.org>> > Sent: Wednesday, August 21, 2019 5:56 AM > To: Nelligan, Steven M <snell...@illinois.edu<mailto:snell...@illinois.edu>> > Cc: Geertjan Wielenga <geert...@apache.org<mailto:geert...@apache.org>>; > NetBeans Mailing List > <users@netbeans.apache.org<mailto:users@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 > <snell...@illinois.edu<mailto:snell...@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-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org> > For additional commands, e-mail: > users-h...@netbeans.apache.org<mailto:users-h...@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-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org> > For additional commands, e-mail: > users-h...@netbeans.apache.org<mailto:users-h...@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=> >