> I.e., why do you want to compile & build with JDK 8 and run with JDK 11?
e.g. because I still need to support Java 8, but also want to test Java 11. Sometimes Swing behaves differently between the two, and it would be convenient if I could run the application using Java 11 from within NetBeans without the need to switch the whole project to a different Java Platform before doing so. Additionally, e.g. the Microsoft JDBC drivers are very picky about the JDK. A driver intended for Java 8 will refuse to load when running on Java 11 (and obviously vice versa). So again I have to change the whole project to a different platform, or swap out the driver depending on how I start my application. Thomas Geertjan Wielenga schrieb am 06.06.2020 um 11:25: > Can you describe your scenario more explicitly so that it can be understood? > > I.e., why do you want to compile & build with JDK 8 and run with JDK 11? > > Gj > > On Sat, Jun 6, 2020 at 10:59 AM Thomas Kellerer <sham...@gmx.net > <mailto:sham...@gmx.net>> wrote: > > Thomas Kellerer schrieb am 29.05.2020 um 09:52: > > What is the intended use of the "Runtime Platform" drop down in the > project properties of an Ant project? > > > > The only option it shows is "Project Platform", even though I have > multiple JDKs configured in the IDE. > > The "Manage Platforms" button next to the dropdown simply takes me to > the "Java Platform Manager" where I can see the JDKs that I have configured. > > > > What I would like to achieve is to compile & build with JDK 8, but run > with JDK 11. > > > > Do I need to register the JDK in a special way so that it shows up in > the dropdown? > > > > I am using NetBeans 12.0beta6 (but 11.3 behaves the same way) > > Can anyone shed a light on what the dropdown is for? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists