-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RunTime Exception Groovy scripting engine not available. #77
Comments
happening in java8 too |
System.out.println(new ScriptEngineManager().getEngineByName("groovy")==null); |
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 This works for me but your groovy dependency doesn't, unless I remove the "pom". |
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
The text was updated successfully, but these errors were encountered: