File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » Groovy
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: 201
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: 201
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://aspose.com/file-tools
 
subject: Groovy setup apparently not right - I could use some help please
 
Similar Threads
JVM does not support Statement.getGeneratedKeys()
Problems getting started
Setting up JAVA
J2EE installation problem
J2EE 1.3.1 RI Server set up problem