Login  Register

Re: Jogl/Jogamp on Java 8 building from source

Posted by Douglas Lyon on Dec 31, 2017; 2:37pm
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038463.html

This should enable you to test under windows 7 with jdk8
and a mac with jdk9;
http://www.docjava.com/book/cgij/code/jnlp/j3d.examples.boids.Main.jnlp

On a mac, we are throwing exceptions under jdk9, but we are getting rendering;
Exceptions are reported in the console.

On windows 7 under jdk9, there is a sudden jvm exit.

When deploying to multiple platforms with synchronized libraries, I find webstart
pretty nice for testing.

Webstart removes environmental issues with libraries and paths.
This makes cross-platform experiments both conclusive and inclusive.

Testing and debugging continues.

Theory: Threads that do not release the graphics context will result in
deadlock due to context contention. Resource contention might be throwing
an exception during the destroy process (I would be happy to be wrong about that,
because if I am right, this could be a hard bug to solve!).

Are there reasons why threads in the jogl pipeline might not release the graphics context?

Happy New Year!
 - Doug