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
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
Also tested with Docker container (imageopenjdk:8-buster)
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
Console output/errors
FAILURE: Build failed with an exception.
* What went wrong:
java.lang.UnsupportedClassVersionError: org/openjfx/gradle/JavaFXPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
> org/openjfx/gradle/JavaFXPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
* 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
BUILD FAILED in 1s
The text was updated successfully, but these errors were encountered:
Hi @cleydyr.
Failing to build with JDK 8 is unfortunately the outcome of making Briss work for newer Java versions.
As JavaFX was removed from all Java versions above 8 I had to add the external dependency for it. Because this external dependency is just available compiled for later versions than 8 you see this error.
I am not sure if there is a way to still support (compiling with) Java 8 alongside supporting newer versions.
Steps to reproduce
./gradlew distZip
Expected behavior
The project builds successfully.
Current behavior
The build fails with an error message (see below).
Reproduced on master 066f376
Java version
Also tested with Docker container (image
openjdk:8-buster
)Console output/errors
The text was updated successfully, but these errors were encountered: