GMOD / Apollo3Server

Apollo 3 Server: Grails 4 + Neo4j 3.5 + JB2
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Test ubuntu 20.04 java 11+ #44

Closed alpapan closed 3 months ago

alpapan commented 3 years ago

Will not work as it can't parse the version.

the solution is to use java 8

Grails not found using grailsw
Using gradlew

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.8'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Gradle version:
Node Version: 10
Npm Version: 6
Yarn Version: 1
javac 1.8.0_265 found
javac installed
JDK 1.8 found: javac 1.8.0_265

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.8'.
alpapan commented 3 years ago

Just install java8 apt-get install openjdk-8-jre openjdk-8-jre-headless and

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

then can build

nathandunn commented 3 years ago

Unfortunately Apollo 2 will only work with JDK 8 due to GWT. Java 11 should work with more modern Java when it comes out.

I'll move this to that repo so we remember to test it there as well.