java<\/code>.<\/p>\nYou can fix this by modifying the monkeydo<\/code> file located in your Connect IQ SDK’s bin<\/code> directory, i.e. at .\/connectiq-sdk-mac-3.0.1\/bin\/monkeydo<\/code>: Find the line with the java<\/code> command, comment it out, and replace with the one below.<\/p>\n# COMMENT THIS ONE OUT:\n# Push the executable to the simulator\n#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\n\n# USE THIS ONE INSTEAD:\n# Fix for Java 9, 10:\n# https:\/\/stackoverflow.com\/questions\/43574426\/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j\njava --add-modules java.xml.bind -classpath \"$MB_HOME\"\/monkeybrains.jar com.garmin.monkeybrains.monkeydodeux.MonkeyDoDeux -f \"$PRG_PATH\" -d $DEVICE_ID -s \"$MB_HOME\"\/shell $TEST_FLAG $TEST_NAME<\/code><\/pre>\nAfter this, monkeydo<\/code> should work correctly in running your compiled app in the simulator. (Note: I did not have to make changes to the monkeyc<\/code> command)<\/p>","protected":false},"excerpt":{"rendered":"If you’re developing with the Connect IQ SDK and have Java 9 or 10 installed (or any version beyond Java 8), you’ll probably run into an issue like this when trying to compile your app with monkeyc or run it with monkeydo, whether from the command line or the Eclipse Plugin: $ monkeydo myApp.prg fenix5 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[64,137],"tags":[495,427,496],"_links":{"self":[{"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/posts\/1773"}],"collection":[{"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/comments?post=1773"}],"version-history":[{"count":9,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/posts\/1773\/revisions"}],"predecessor-version":[{"id":1799,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/posts\/1773\/revisions\/1799"}],"wp:attachment":[{"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/media?parent=1773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/categories?post=1773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitstep.net\/wp-json\/wp\/v2\/tags?post=1773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}