Thanks for your input everybody! I was hoping I could just tell NB to run the ant command with the Java8 JAVA_HOME or any of those variables or properties.
I also tried modifying the bin/ant in NetBeans/netbeans/extide/ant to get an export JAVA_HOME but nothing helped. So got the 4 jars from mavencentral and added them as "required in runtime=no" libraries. This works fine. The jenkins build, using Java8 now has has warnings about those libraries, from stray entries in the ant scripts, created by NB, but it doesn't break the build so that's ok for now... Cheers Tom. --------------------------------------------------------------------- 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