You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Debian-2)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Debian-2, mixed mode, sharing)
Operating system:
Linux pecet 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux
Description
I can't run this program on Debian Sid.
Steps to reproduce
Install Debian Sid
Install openjdk-11-jre
Download the CLI version
Run it via java -jar $THE_JAR
Actual result
~/Pobrane $ java -jar BlockMap-cli-1.6.1.jar
Error: LinkageError occurred while loading main class de.piegames.blockmap.standalone.CommandLineMain
java.lang.UnsupportedClassVersionError: de/piegames/blockmap/standalone/CommandLineMain has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 55.0
~/Pobrane $
Expected result:
I don't know, I never used the program. But it should show me a help message, I think.
Debug log
Seems to not change anything. I probably shouldn't except anything, cause it's Java error...
~/Pobrane $ java -jar BlockMap-cli-1.6.1.jar -v
Error: LinkageError occurred while loading main class de.piegames.blockmap.standalone.CommandLineMain
java.lang.UnsupportedClassVersionError: de/piegames/blockmap/standalone/CommandLineMain has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 55.0
~/Pobrane $
EDIT: I also tried to compile it. gradlew gave me error saying that the project is incompatible with latest version.
~/BlockMap $ ./gradlew regenerate
Downloading https://services.gradle.org/distributions/gradle-6.0.1-bin.zip
.........10%.........20%.........30%.........40%.........50%.........60%.........70%.........80%.........90%.........100%
Welcome to Gradle 6.0.1!
Here are the highlights of this release:
- Substantial improvements in dependency management, including
- Publishing Gradle Module Metadata in addition to pom.xml
- Advanced control of transitive versions
- Support for optional features and dependencies
- Rules to tweak published metadata
- Support for Java 13
- Faster incremental Java and Groovy compilation
- New Zinc compiler for Scala
- VS2019 support
- Support for Gradle Enterprise plugin 3.0
For more details see https://docs.gradle.org/6.0.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :BlockMap:BlockMap-core:compileJava FAILED
> Task :regenerate FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':BlockMap:BlockMap-core:compileJava'.
> Could not target platform: 'Java SE 12' using tool chain: 'JDK 11 (11)'.
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 0s
1 actionable task: 1 executed
~/BlockMap $
EDIT 2: The same happens on Debian 10.
EDIT 3: Sorry, just noticed that I need Java 12 :/ Closing for now.
The text was updated successfully, but these errors were encountered:
Environment info
Description
I can't run this program on Debian Sid.
Steps to reproduce
openjdk-11-jre
java -jar $THE_JAR
Actual result
Expected result:
I don't know, I never used the program. But it should show me a help message, I think.
Debug log
Seems to not change anything. I probably shouldn't except anything, cause it's Java error...
EDIT: I also tried to compile it. gradlew gave me error saying that the project is incompatible with latest version.
EDIT 2: The same happens on Debian 10.
EDIT 3: Sorry, just noticed that I need Java 12 :/ Closing for now.
The text was updated successfully, but these errors were encountered: