Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "FAILURE: Build failed with an exception." #16

Open
rajhlinux opened this issue Jan 5, 2023 · 3 comments
Open

Error: "FAILURE: Build failed with an exception." #16

rajhlinux opened this issue Jan 5, 2023 · 3 comments

Comments

@rajhlinux
Copy link

I get the following error:

$ ./gradlew build

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 828ms

Using FreeBSD 13.1
Tablet: XP-Pen Star G640

Thanks.

@kurikaesu
Copy link
Owner

See if you can use OpenJDK 11 to run this. There have been issues with newer versions of OpenJDK that cause it to just completely fail to run.

@rajhlinux
Copy link
Author

rajhlinux commented Jan 6, 2023

Thanks for the reply. I will delete the newer version and try the older one.

Edit:

Same error.

Here is the Java 11 pkg installed and removed Java 17:

pkg info openjdk11

openjdk11-11.0.17+8.1_1
Name           : openjdk11
Version        : 11.0.17+8.1_1
Installed on   : Wed Jan  4 20:55:35 2023 EST
Origin         : java/openjdk11
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : java devel
Licenses       : GPLv2
Maintainer     : [email protected]
WWW            : https://openjdk.java.net/
Comment        : Java Development Kit 11
Shared Libs required:
        libpng16.so.16
        liblcms2.so.2
        libjpeg.so.8
        libgif.so.7
        libfreetype.so.6
        libfontconfig.so.1
        libasound.so.2
        libXtst.so.6
        libXrender.so.1
        libXi.so.6
        libXext.so.6
        libX11.so.6
Shared Libs provided:
        libzip.so
        libverify.so
        libunpack.so
        libsunec.so
        libsplashscreen.so
        libsctp.so
        libsaproc.so
        librmi.so
        libprefs.so
        libnio.so
        libnet.so
        libmlib_image.so
        libmanagement_ext.so
        libmanagement_agent.so
        libmanagement.so
        liblcms.so
        libjvm.so
        libjsound.so
        libjsig.so
        libjli.so
        libjimage.so
        libjdwp.so
        libjawt.so
        libjavajpeg.so
        libjava.so
        libjaas.so
        libj2pkcs11.so
        libj2pcsc.so
        libj2gss.so
        libinstrument.so
        libfontmanager.so
        libextnet.so
        libdt_socket.so
        libawt_xawt.so
        libawt_headless.so
        libawt.so
        libattach.so
Annotations    :
        FreeBSD_version: 1301000
        cpe            : cpe:2.3:a:oracle:openjdk:11.0.17+8.1:::::freebsd13:x64:1
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 310MiB
Description    :
An open-source implementation of the Java Platform, Standard Edition,

WWW: https://openjdk.java.net/

@kurikaesu
Copy link
Owner

Looks like I may need to spin up an instance of FreeBSD to debug this. I have just gotten an ubuntu install re-created to add G640 compatibility. Will need more time or another volunteer to check out what is going on in FreeBSD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants