Doesn't build on macOS
rbotzer opened this issue · comments
Ronen Botzer commented
For some reason the latest Java 8 on macOS has a JDK version number of 13, and that seems to interfere with the build.
aerospike-jdbc-driver-master $ ./gradlew fatJar
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '13'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
aerospike-jdbc-driver-master $ javac -version
javac 13
aerospike-jdbc-driver-master $ java -version
java version "13" 2019-09-17
Java(TM) SE Runtime Environment (build 13+33)
Java HotSpot(TM) 64-Bit Server VM (build 13+33, mixed mode, sharing)
Alexander Radzin commented
It was not a problem of mac but rather problem of old gradle I used. I have updated gradle and successfully built the project on mac with JDK 11, so I hope now it will be OK with JDK 13 as well.
Alexander Radzin commented
Since the problem was in old gradle; it was updated and the build was tested on Mac with JDK11 I believe the problem is solved.