I am using groovy -2.3.3, with jdk6u35. The groovy binaries were extracted from groovy -sdk-2.3.3.zip.
After compiling with groovyc, I got an error when starting java:
Unsupported major.minor version 51.0.
I googled and realized that the problem is related to groovy -all-2.3.3-indy.jar (which is used for jdk7 +), so I removed it from my CLASSPATH. Now the program works, but it gives a warning:
WARNING: Module [groovy-all] - Unable to load extension class [org.codehaus.groovy.runtime.NioGroovyMethods]
How to disable this warning message since I know that it is not applicable for my installation?
If I cannot turn off this warning without recompiling from the source (which is not valid for me), is there any other groovy executable that I have to download instead of the zdk sdk file so that it can work with java-jdk6 without any or warnings?
source
share