The SUNWprivate_1.1 mystery
Ioi Lam
ioi.lam at oracle.com
Mon Jun 13 06:01:15 UTC 2022
I am not familiar with jogamp but found this discussion:
https://forum.jogamp.org/Oracle-Java-13-Linux-version-SUNWprivate-1-1-not-found-td4040172.html
Maybe you are using a very old build of jogamp?
The symbol "SUNWprivate_1.1" has been removed from libjawt.so since JDK
11. I don't know why you only see the problem with JDK 18 but not JDK
17. Maybe you were not using JDK 17 but rather JDK 1.7?
I would suggest contacting jogamp.org for further assistance on this issue.
Thanks
- Ioi
On 6/10/2022 7:25 AM, Stefan Reich wrote:
> Dear JDK devs,
>
> I hope this is the right list. The issue is this: Libraries such as
> jogamp.org's OpenGL Java binding have stopped working on Linux since JDK 18.
>
> To run an example, you can get https://botcompany.de:9898/x30.jar and run
> it with the parameter 1035520 (-jar x30.jar 1035520). It will download and
> run this program <https://code.botcompany.de/1035520>.
>
> This runs fine on JDK 17 on all platforms as well as on Windows on JDK 18.
> However, on JDK 18 on Linux Mint 19 it shows this error:
>
> java.lang.UnsatisfiedLinkError:
> /tmp/jogamp_0000/file_cache/jln13303489101580857037/jln7948171270029506087/natives/linux-amd64/libnativewindow_awt.so:
> /home/stefan/dev/jdk-18/lib/libjawt.so: version `SUNWprivate_1.1' not found
> (required by
> /tmp/jogamp_0000/file_cache/jln13303489101580857037/jln7948171270029506087/natives/linux-amd64/libnativewindow_awt.so)
> at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
> at
> java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:395)
> at
> java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:234)
> at
> java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:176)
> at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394)
> at java.base/java.lang.Runtime.load0(Runtime.java:785)
> at java.base/java.lang.System.load(System.java:1979)
> at
> com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:603)
> at
> com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:63)
> at
> com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
> at
> com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:487)
> at jogamp.nativewindow.NWJNILibLoader.access$000(NWJNILibLoader.java:39)
> at jogamp.nativewindow.NWJNILibLoader$1.run(NWJNILibLoader.java:49)
> at jogamp.nativewindow.NWJNILibLoader$1.run(NWJNILibLoader.java:41)
> at
> java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
> at
> jogamp.nativewindow.NWJNILibLoader.loadNativeWindow(NWJNILibLoader.java:41)
> at jogamp.nativewindow.jawt.JAWTUtil.<clinit>(JAWTUtil.java:336)
>
> What has changed in JDK 18?
>
> Many greetings and thanks in advance,
> Stefan
>
More information about the hotspot-runtime-dev
mailing list