Quick Question - Answer ASAP

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Quick Question - Answer ASAP

an01
Hi all,

Just have a quick question. My team is currently using JOGL 2.3.2 and we are transitioning from Java 9 to Java 21. I wanted to know if there will be any compatibility issues?

I'm finding issues with running JOGL 2.3.2 with Java 21 on Linux currently, and not too sure if it's because our JOGL version needs to be updated to JOGL 2.4.0.

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Quick Question - Answer ASAP

an01
To add more to the question, I would like to also ask how come there is a lack of libnewt.so in jogl 2.4.0? I was trying to upgrade by replacing all the libs and jars we had but there is only libnewt_drm.so and libnewt_head.so
Reply | Threaded
Open this post in threaded view
|

Re: Quick Question - Answer ASAP

gouessej
Administrator
In reply to this post by an01
Hello

I advise you to use the JogAmp fat JAR to keep things simple except if it doesn't suit your use case.

Moreover, don't forget the --add-opens clauses if you want to use JOGL with Java >= 9.

Finally, rather use the latest version, it will help us to help you ;)
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Quick Question - Answer ASAP

Sven Gothel
Administrator
In reply to this post by an01
commit b91c680fb93a03720ff9fcb39cf052cfe8d40e76
Author: Sven Gothel <sgothel@jausoft.com>
Date:   Wed Dec 25 02:07:50 2019 +0100

    Bug 1156: Seperate DRM/GBM NEWT native library from main head NEWT native library
   
    DRM/GBM is enabled for Linux in general.
    Nativewindow's 'nativewindow_drm' DRM/GBM native library is already seperated.
   
    NEWT get its 'newt_drm' DRM/GBM native library.
   
    NEWT's main head native library is renamed from 'newt' -> 'newt_head'
    and is earmarked for further seperation similar to Nativewindow's.
    At least a 'newt_wayland' will probably followup when support is added.
   
    Goal is to remove DRM/GBM dependency for Linux X11 operation
    as well as removing X11 dependency for Linux DRM/GBM operation.