I was playing with DMelt 2.1 in http://jwork.org/dmelt/ and I've noticed I cannot start the Groovy console when using JDK9 (On Ubuntu 17.08, x64, JDK build 9.0.1+11). Then I noticed that JDK9 throws a lot of warnings even when using the original "groovyConsole" from the groovy-2.6.0-alpha-2 package from the Apache web site http://groovy-lang.org/:
groovy-2.6.0-alpha-2/bin/groovyConsole WARNING: Using incubator modules: jdk.incubator.httpclient WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file://Download/groovy-2.6.0-alpha-2/lib/groovy-2.6.0-alpha-2.jar) to method java.lang.Object.finalize() WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Gtk-Message: Failed to load module "overlay-scrollbar" /usr/share/themes/Ambiance/gtk-2.0/apps/mate-panel.rc:30: error: invalid string constant "murrine-scrollbar", expected valid string constant
How can this be fixed? I do not have any issues when using JDK 1.8.