Could you please confirm whether Gradle is supporting Azul Zulu JDK10 or not?


(Ganesh Dandi) #1

Could you please confirm whether Gradle is supporting Azul Zulu JDK10 or not ?


(Stefan Oehme) #2

We’re not testing for it, how about you try it out?


(Ganesh Dandi) #3

yes, I tried but getting some javax.* errors while compiling. we have added dependencies as well.


(Stefan Oehme) #4

Please provide a reproducible sample project.


(Ganesh Dandi) #5

package javax.xml.bind.annotation is declared in module java.xml.bind, which is not in the module graph


(Stefan Oehme) #6

That’s not a reproducible sample, just a message :wink:

But lucky enough I know where this is coming from: java.xml.bind is no longer on the classpath by default since Java 9 and was removed completely in Java 11. You need to get it from Maven Central or JCenter. This is unrelated to Gradle.


(Ganesh Dandi) #7

Sorry for not sending Sample project. Yes, I got it from Maven central and added as a dependency. Still it is failing. any Idea how to solve this ? any workaround solution ? I have added dependency like below .
compile group: ‘javax.xml.bind’, name: ‘jaxb-api’, version: ‘2.4.0-b180830.0359’


(Ganesh Dandi) #8

This unrelated to Gradle but I am trying to build with Gradle only:) .


(Dimitar Dimitrov) #9

Did I miss your link to the sample project?