I have a Java web application (built with Ant) running in Netbeans 21. The Java 
platform is JDK 12 and the build target is JDK 11. The applications builds and 
runs as a web application with no problem.

There are a few stand-alone test programs I need to run, but using the Run File 
option results in this error message:

-Xbootclasspath/p is no longer a supported option.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
/Users/ralphgrove/Library/Caches/NetBeans/21/executor-snippets/run.xml:111: The 
following error occurred while executing this line:
/Users/ralphgrove/Library/Caches/NetBeans/21/executor-snippets/run.xml:68: Java 
returned: 1
BUILD FAILED (total time: 0 seconds)

Is there a way to disable the -Xbootclasspath/p option for running individual 
files?

Thanks,
Ralph Grove




---------------------------------------------------------------------
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

Reply via email to