Hello, so NB19 needs Java11+ to run, which is fine.
But (for now) I need to run my ant task with Java8, but it seems ant is always launched within the JVM that runs NB. Testing, with Java8, on command line "ant dist" builds my ear, whereas with Java11 I get errors like cannot find symbol javax.annotation.Generated which is probably expected. Running in NB19, I get the very same error, and no setting I found would change this behaviour. Basically, I have the very same question like this one: https://stackoverflow.com/questions/70036683/how-to-change-java-for-ant-in-netbeans and none of the solutions works. Any 5ct? Thanks, Cheers, Tom. --------------------------------------------------------------------- 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
