Hello,

I'm trying to build a Java 11 Spark distro using the
dev/make-distribution.sh script.
I have set JAVA_HOME to point to JDK11 location, I've also set the
java.version property in pom.xml to 11, effectively also setting
`maven.compile.source` and `maven.compile.target`.
When inspecting classes from the `dist` directory with `javap -v`, I find
that the class major version is 52, which is specific to JDK8. Am I missing
something? Is there a reliable way to set the JDK used in the build process?

Thanks,
Szymon K.

Reply via email to