xiaoxing tech

January 21, 2009

run Groovy’s groovyConsole.bat, got SecurityException: Prohibited package name: java.lang

Filed under: Java, groovy — xiaoxing @ 12:38 pm

java groovy

Solution:
My system’s CLASSPATH variable contains this entry: C:\midp2.0fcs\classes
Delete it then groovyConsole.bat will work.
Other entries in the CLASSPATH don’t matter.

Blog at WordPress.com.