Oracle Java 13 + Linux : version `SUNWprivate_1.1' not found

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

Oracle Java 13 + Linux : version `SUNWprivate_1.1' not found


Please can someone give a try to Oracle Java 13 with JOGL 2.4? It produces the following error message with JOGL 2.3.2 :
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: /tmp/jogamp_0000/file_cache/jln3160951728563156885/jln8316311171870168112/natives/linux-amd64/ /usr/lib/jvm/java-13-oracle/lib/ version `SUNWprivate_1.1' not found (required by /tmp/jogamp_0000/file_cache/jln3160951728563156885/jln8316311171870168112/natives/linux-amd64/
    at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
    at java.base/java.lang.ClassLoader$NativeLibrary.load(
    at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(
    at java.base/java.lang.ClassLoader.loadLibrary0(
    at java.base/java.lang.ClassLoader.loadLibrary(
    at java.base/java.lang.Runtime.load0(
    at java.base/java.lang.System.load(
    at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(
    at com.jogamp.common.jvm.JNILibLoaderBase.access$000(
    at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(
    at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(
    at jogamp.nativewindow.NWJNILibLoader.access$000(
    at jogamp.nativewindow.NWJNILibLoader$
    at jogamp.nativewindow.NWJNILibLoader$
    at java.base/
    at jogamp.nativewindow.NWJNILibLoader.loadNativeWindow(
    at jogamp.nativewindow.jawt.JAWTUtil.<clinit>(
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(
    at com.jogamp.nativewindow.NativeWindowFactory$
    at com.jogamp.nativewindow.NativeWindowFactory$
    at java.base/
    at com.jogamp.nativewindow.NativeWindowFactory.initSingleton(
    at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(
    at com.jogamp.opengl.GLProfile.access$000(
    at com.jogamp.opengl.GLProfile$
    at java.base/
    at com.jogamp.opengl.GLProfile.initSingleton(
    at com.jogamp.opengl.GLProfile.getProfileMap(
    at com.jogamp.opengl.GLProfile.get(
    at com.jogamp.opengl.GLProfile.getDefault(
    at com.jogamp.opengl.GLProfile.getDefault(

Seen here:
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view

Re: Oracle Java 13 + Linux : version `SUNWprivate_1.1' not found

Xerxes Rånby
I tested the JDK 13.0.1 General-Availability Release provided under the GNU General Public License, version 2, with the Classpath Exception.

I was able to run newt Gears, awt Gears, swt Gears .. etc.. without problems using jogamp 2.4.0 source

jogamp/jogl/make$ /home/familjen/jdk-13.0.1/bin/java -DummyArg -Djava.awt.headless=false -cp .:../../gluegen/make/../build-x86_64/gluegen-rt.jar:../../joal/build-x86_64/jar/joal.jar:../build-x86_64/jar/jogl-all.jar:../build-x86_64/jar/atomic/oculusvr.jar:../build-x86_64/jar/jogl-test.jar:/home/familjen/jogamp/jogl/make/lib/swt/gtk-linux-x86_64/swt.jar:../../gluegen/make/../make/lib/junit.jar:/usr/lib/ant.jar:/usr/lib/ant-junit.jar:../../gluegen/make/../make/lib/semantic-versioning/semver.jar:../../gluegen/make/../build-x86_64/gluegen-test-util.jar com.jogamp.opengl.test.junit.jogl.demos.gl2.awt.TestGearsAWT
JUnit version 4.11
++++ Test Singleton.ctor()
++++ Test Singleton.lock()
SLOCK [T SingletonServerSocket1-localhost/ @ 1575763089506 ms III - Start
SLOCK [T main @ 1575763089507 ms +++ localhost/ - Locked within 16 ms, 1 attempts
.++++ TestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.gl2.awt.TestGearsAWT - test01
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:com.jogamp.opengl.awt.GLCanvas, consumed false, when:1575763090428 d 1ms]]
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:com.jogamp.opengl.awt.GLCanvas, consumed false, when:1575763090429 d 0ms]]
Thread[AWT-EventQueue-0,6,main] Gears.init: tileRendererInUse null
GearsES2 init on Thread[AWT-EventQueue-0,6,main]
Chosen GLCapabilities: GLCaps[glx vid 0x27, fbc 0x10d: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  1
GL Profile     GLProfile[GL4bc/GL4bc.hw]
GL Version     4.6 (Compat profile, arb, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.6.0 NVIDIA 390.116 [GL 4.6.0, vendor 390.116.0 (NVIDIA 390.116)]
Quirks         [NoSurfacelessCtx]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      NVIDIA Corporation
GL_VERSION     4.6.0 NVIDIA 390.116
GLSL           true, has-compiler-func: true, version: 4.60 NVIDIA / 4.60.0
GL FBO: basic true, full true
gear1 list created: 1
gear2 list created: 2
gear3 list created: 3
Thread[AWT-EventQueue-0,6,main] Gears.reshape 0/0 640x480 of 640x480, swapInterval 1, drawable 0x3200021, tileRendererInUse null
>> Gears angle 0.0, [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0 -> [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0, v-flip false
WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:com.jogamp.opengl.awt.GLCanvas, consumed false, when:1575763090497 d 0ms]]
WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:com.jogamp.opengl.awt.GLCanvas, consumed false, when:1575763090523 d 0ms]]
1 s: 60 f / 1026 ms, 58.4 fps, 17 ms/f; total: 60 f, 58.4 fps, 17 ms/f
WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:com.jogamp.opengl.awt.GLCanvas, consumed false, when:1575763091562 d 0ms]]
WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:com.jogamp.opengl.awt.GLCanvas, consumed false, when:1575763091563 d 0ms]]
Thread[AWT-EventQueue-0,6,main] Gears.dispose: tileRendererInUse null
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.gl2.awt.TestGearsAWT - test01
WindowEvent[EVENT_WINDOW_DESTROYED, NEWTEvent[source:com.jogamp.opengl.awt.GLCanvas, consumed false, when:1575763091585 d 0ms]]
++++ Test Singleton.unlock()
SLOCK [T SingletonServerSocket1-localhost/ @ 1575763091602 ms III - Stopping: alive true, shallQuit true, hasSocket true
SLOCK [T main @ 1575763091603 ms --- localhost/ - Unlock ok within 1 ms

Time: 2,643

OK (1 test)

I am unable to reprouce the error you saw using the current JOGL 2.4 sourcecode in combination with JDK 13.0.1 

To test the source build i edit the test script to enable the test i want to run:
Then i edit the x64 test setup to use the jdk 13 java
and finally i run the test:
cd jogl/make
Reply | Threaded
Open this post in threaded view

Re: Oracle Java 13 + Linux : version `SUNWprivate_1.1' not found

Thank you Xerxes :)
Julien Gouesse | Personal blog | Website