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.
See issue 211564 for some background. Looks like it's possible that when following those 4 steps, the groovy script might not be run correctly. 1. Create Java Application project 2. Create new Groovy Script 3. Right click on script node and use 'Run File' --> You should see following output: Hello root! BUILD SUCCESSFUL (total time: 0 seconds) --> ..but DaveSc can see following output: run-single: Picked up _JAVA_OPTIONS Error: Could not find or load main class javaapplication3.NewGroovyScript Java Result:1 BUILD SUCCESSFUL (total time: 1 second)
DaveSc, what's the version of Java you're using in this project? I mean when going to the project properties/libraries, there is a Java Platform at the top of the panel. And could you also see the Groovy 1.8.6 - groovy-all.jar in the library compile-time dependencies?
Closing this issue as INCOMPLETE. I've never been able to reproduce the problem (and this is actually one of the most basic actions, but no-one else ever report the same problem so it has to be related to some broken IDE/Groovy configuration). Without some additional information I can't do anything about it right now. Please try to reproduce the problem with "Verbosity level" set to Debug (Tools/Options/Java/Ant) and attach related log