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.

Bug 136747 - Execute Script doesn't work
Summary: Execute Script doesn't work
Status: RESOLVED WONTFIX
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: martin_adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-07 20:16 UTC by jheldmann
Modified: 2008-10-30 14:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jheldmann 2008-06-07 20:16:50 UTC
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.
Comment 1 martin_adamek 2008-08-14 14:40:18 UTC
Please use Run File action in Java SE to run Groovy scripts.