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/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: [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