This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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 » 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: 194
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: 194
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.

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Groovy setup apparently not right - I could use some help please
 
Similar Threads
Setting up JAVA
J2EE installation problem
J2EE 1.3.1 RI Server set up problem
Problems getting started
JVM does not support Statement.getGeneratedKeys()