Hey y’all, what maven and java versions are requir...
# troubleshooting
g
Hey y’all, what maven and java versions are required to build the repo?
for more context, here’s my local info:
Copy code
mvn -v                                                                                                                                                                                                                                                   
Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Maven home: /Users/<user-name>/.sdkman/candidates/maven/current
Java version: 1.8.0_275, vendor: AdoptOpenJDK, runtime: /Users/<user-name>/.sdkman/candidates/java/8.0.275.hs-adpt/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
r
hi 👋
Copy code
mvn -version
Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: /usr/local/Cellar/maven/3.8.2/libexec
Java version: 11.0.12, vendor: <http://Amazon.com|Amazon.com> Inc., runtime: /Users/<>/Library/Java/JavaVirtualMachines/corretto-11.0.12/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "11.3.1", arch: "x86_64", family: "mac"
you can build with 8 with a profile, I seem to remember @Xiang Fu saying, but I haven't done it
g
🤔 I’ll try JDK 11 then.
I’m getting this error on `pinot-spi`:
Copy code
javac: invalid flag: --release
r
Copy code
jdk-8-maven-compiler-plugin
is the profile name
🙏 1
--release
isn't supported by javac before JDK9
that profile should prevent it, but we build with JDK11 so don't really bother with it
g
Thanks. Will do. I think I figured it was 8 due to some of the flags related to presto
Yeah, seems happier now. Thanks again
🙌 1