Closed avevad closed 4 years ago
apt install openjdk-8-jdk
mindustry only supports java 8
I have already installed openjdk 8, although problem exists
This is a problem with Gradle; I don't see anything to do with Mindustry or its build scripts here. Open an issue in their repository or search around for a solution online.
I have already installed openjdk 8, although problem exists.
You're definitely not using it to run Gradle then, because I see java.base
mentioned in the stack trace (which is a Java 9 related feature).
Its closed, but id say try it with no daemon, ./gradlew desktop:dist --no-daemon
I recently found a solution for this problem for Linux users. Instead of execulting ./gradlew desktop:run
as written in the manual, you should type JAVA_HOME=<path to your JDK 8> ./gradlew desktop:run
Platform: Debian 10
Issue: When I'm trying to build mindustry for desktop with
./gradlew desktop:dist
I'm getting following error:Steps to reproduce: just invoke
./gradlew desktop:dist
in project directory