The moose likes Groovy and the fly likes Groovy setup apparently not right - I could use some help please Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Groovy setup apparently not right - I could use some help please" Watch "Groovy setup apparently not right - I could use some help please" New topic
Author

Groovy setup apparently not right - I could use some help please

Bill Johnston
Ranch Hand

Joined: Nov 17, 2005
Posts: 184
Experienced Java programmer - brand new to groovy - just started learning this week

Just downloaded and set up Groovy-1.7.5 from the http://groovy.codehaus.org download site.

Read the installation instructions - avoided install into 'Program Files' as per instructions

Checked that GROOVY_HOME set in SYSTEM environment variables and bin directory properly added to PATH SYSTEM environment variables.

Made sure that all the other environment variables were undisturbed.

I opened up a command prompt - as usual - and re-checked the environment variables via the 'set' command ... all seems good.

However I am getting:

java.lang.SecurityException: Prohibited package name: java.util

... when trying to execute groovyConsole.bat from the bin directory.

And I am getting:

java.lang.SecurityException: Prohibited package name: java.lang

... when trying to execute just groovy

I can't locate any information on this anywhere on this kind of error.

Any help is appreciated. Regards,


~Bill
Bill Johnston
Ranch Hand

Joined: Nov 17, 2005
Posts: 184
Ah! I finally found it. This link in case anyone else needs it:

http://jira.codehaus.org/browse/GROOVY-1386

... Had to remove rt.jar from CLASSPATH.

 
 
subject: Groovy setup apparently not right - I could use some help please
 
Threads others viewed
J2EE installation problem
Problems getting started
J2EE 1.3.1 RI Server set up problem
Setting up JAVA
JVM does not support Statement.getGeneratedKeys()
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com