-
Notifications
You must be signed in to change notification settings - Fork 49
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
Error trying to run #5
Comments
Hi @danielo515. Thank you for submitting the issue. Yes, I have seen this problem with Java 9+, but never got to address it. I just pushed a fix. Also - which JDK version are you running? The fix will work with Java 9, 10 and 11, but 12 will struggle as JDK stopped shipping with the EE libraries beginning with version 12. I assume the Eclipse plugin will not work with Java 12 either. I gave this fix a test, but could you also give it a try and let me know, so I can close the issue? |
Hello @danielsiwiec, |
Ok, found it:30665fe |
Where are you taking the file "--add-modules=java.xml.bind" from? |
Ok, I finally make it work by changing monkeydo script to this /Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/bin/java -classpath "$MB_HOME"/monkeybrains.jar com.garmin.monkeybrains.monkeydodeux.MonkeyDoDeux -f "$PRG_PATH" -d $DEVICE_ID -s "$MB_HOME"/shell $TEST_FLAG $TEST_NAME To be honest, it should not use java directly and should use some of the available options on the path, like JAVA_HOME. |
In any case, I'm still guessing why this works with eclipse ide, who seems to be using the same java version that I was using. Maybe eclipse plugin includes the required libraries? I hate eclipse, and I have no idea how to check this, but I would love to know it to make my projects a little bit more future proof |
Finally I get it working by using the following build script without changing the monkeydo or any other script inside the SDK at all:
|
Hmm. I see what you did there. By setting Regarding Thank you for putting the effort into this issue @danielo515! |
Thanks to you @danielsiwiec !! And thank you for this template. |
Hello, this is awesome, many thanks.
Maybe you can help me with a small problem I'm having while trying to run the compiled program on the simulator. When I use eclipse to run it it runs just fine, but when I try to run the command myself I get the following error:
Do you have any idea? Many thanks.
The text was updated successfully, but these errors were encountered: