bobl01 opened a new issue, #7002:
URL: https://github.com/apache/netbeans/issues/7002

   ### Apache NetBeans version
   
   Apache NetBeans 20
   
   ### What happened
   
   There appears to be an error in the ant script for building a Java FX 
Application.  The project is created OK, but when performing a build, the 
script terminates with the error message:
   Java 15 has removed Nashorn, you must provide an engine for running 
JavaScript yourself. GraalVM JavaScript currently is the preferred option.
   The project has not been edited in any way, and I expected the build to just 
work.
   
   ### Language / Project Type / NetBeans Component
   
   Create new project: Java with Ant > Java FX > Java FX Application
   
   ### How to reproduce
   
   Before starting, you need a Java FX platform installed in Netbeans, such as 
"zulu21.30.15-ca-fx-jdk21.0.1".   Make sure the platform is known to Netbeans 
by running Tools > Java Platforms > Add Platform...
   
   Create a new Java FX project:  File > New Project... > Java with Ant > Java 
FX > Java FX Application.   Then Next
   Use default names and locations.  Be sure to select your Java FX platform 
for the Java Platform entry. Then Finish
   
   When the next project appears, click on the Clean and Build toolbar icon to 
start building.  
   
   The build terminates with the above error message.  
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Mac OS Monterey Version 12.7.2
   
   ### JDK
   
   Netbeans: Java(TM) SE Runtime Environment 21.0.2+13-LTS-58
   
   ### Apache NetBeans packaging
   
   Third-party package
   
   ### Anything else
   
   Netbeans package is latest from Codelerity for x86_64 Mac OS.  
   
   I've tried for several days to resolve this issue myself, but without 
success.  
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to