I am using groovy-2.3.3, with jdk6u35. The groovy binaries have been extracted from groovy-sdk-2.3.3.zip.
After compiling with groovyc, I got an error while running java:
Unsupported major.minor version 51.0.
I googled and figured that the problem was with the 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 setup?
If I cannot disable this warning without a recompilation from source (which is not a valid option for me), is there any other groovy executable that I should download, instead of the sdk zip file, so that it can work with java-jdk6 without any warnings?