kurikaesu / userspace-tablet-driver-gui

Linux GUI for Kuri's userspace tablet drivers. Supports non-wacom (XP-Pen, Huion, Gaomon) graphics tablets and pen displays
GNU General Public License v3.0
28 stars 7 forks source link

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

Open rajhlinux opened 1 year ago

rajhlinux commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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     : java@FreeBSD.org
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 commented 1 year ago

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.