This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I try to execute a Groovy script by selecting "Execute Script" in the popup menu of the script file, I get the following output (of course JAVA_HOME is set): D:\Programme\Java\groovy\bin\groovy.bat E:\NetBeansProjects\JavaApplication2\src\S2.groovy ERROR: Environment variable JAVA_HOME has not been set. Please set the JAVA_HOME variable in your environment to match the location of your Java installation.
Please use Run File action in Java SE to run Groovy scripts.