Open JackWisdom opened 5 years ago
happening in java8 too
System.out.println(new ScriptEngineManager().getEngineByName("groovy")==null); returns true can i get support here?
Sorry you are having trouble.
This error indicates that you do not have the groovy-all jar in your classpath when you run. I don't know how your are running so I can't really comment on that for sure.
Sometimes support questions get lost here as I get a lot of github e-mails but there is a Lemur section of the JME forum and those always get seen soonest.
The "implementation" scope is new to me as I'm still using an older version of gradle. I wonder if this is preventing the groovy-all.jar from showing up in 'runtime'... you can probably look at the generated script that the application plugin generates to see what jars were included.
@JackWisdom
Try removing that , ext: 'pom' bit.
This works for me but your groovy dependency doesn't, unless I remove the "pom". implementation 'org.codehaus.groovy:groovy-all:2.4.15'
This error indicates that you do not have the groovy-all jar in your classpath when you run.
this just helped me out. thank you!!
my build.gradle https://pastebin.com/YjWa1Jih my project https://github.com/mcqwzd/OurCraft exception https://pastebin.com/QMqJLUEf Java OpenJDK Runtime Environment (build 11.0.2-redhat+7-LTS) System Win10 1809 Groovy 3.0
it just happening as the game launched I'm pretty sure that I have installed groovy the GROOVY_HOME was set and I can normally groovy cmds in powershell