> > 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 <[email protected]> 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 | [email protected] > 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 <[email protected]> > Sent: Wednesday, August 21, 2019 6:58 AM > To: [email protected]; Nelligan, Steven M <[email protected]> > 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 | [email protected] > > 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 <[email protected]> > > Sent: Wednesday, August 21, 2019 5:56 AM > > To: Nelligan, Steven M <[email protected]> > > Cc: Geertjan Wielenga <[email protected]>; NetBeans Mailing List > > <[email protected]> > > Subject: Re: Problem with setting default JDK in NetBeans 11.1 > > > > On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M <[email protected]> > 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: [email protected] > > For additional commands, e-mail: [email protected] > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >
