Hi Brad, Am Samstag, dem 04.02.2023 um 16:27 -0600 schrieb Brad Walker: > I can't figure out what options to use so that doing a build with Ant > compiles with a different compiler. I've looked all over the web page and > can't seem to find it there. > > So 2 questions: > > 1 - Does compiling Netbeans out of the box continue to Java 8 as the > compiler?
You'll need JDK 11. Most modules still build for 8, but they use the javac release flag to do that. I don't remember when that change was made, but it was some time ago. > 2 - What option would I pass to Ant in order for it to use a different > compiler? Creating a file ".nbbuild.properties" in your home directory with the contents: nbjdk.home=<PATH_TO_YOUR_JDK> should do it. Or you ensure, that that file das not exists/the property is not set and put your target JDK as first element onto $PATH and set $JAVA_HOME accordingly. HTH Matthias --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists