Skip to content

Instantly share code, notes, and snippets.

@xpepper
Last active April 25, 2019 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xpepper/05f1bf5f3e5590cea7999be2e548ef78 to your computer and use it in GitHub Desktop.
Save xpepper/05f1bf5f3e5590cea7999be2e548ef78 to your computer and use it in GitHub Desktop.

To have my Java8 app be able to be executed on a JVM Java11 I had to add this dependency to my build.gradle:

...
implementation 'org.glassfish.jaxb:jaxb-runtime'
...

Otherwise I got a runtime exception: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext

so this https://stackoverflow.com/questions/52888341/does-kotlin-support-java-11 is not really really true @yole...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment