Comment 32 for bug 1742894

Revision history for this message
Johan Marius Wesselink (johanmw) wrote :

I tested the proposed package on Lubuntu 17.10.

I tested some example programs they use either:
GLProfile glp = GLProfile.getDefault();
Or they use the GLCanvas default constructor.

Before this version all these examples emitted the typical error found in the previous version of jogl2. The new package RESOLVED this problem.

I noticed after some experimenting that replacing getDefault with get(GLProfile.GL2);
also solved the problem. Then I found this thread.

I build scilab from source using the git repository. This is the master and future 6.1 version it has the same problem. However, scilab 6 and higher have the jogl2 library prebuild and distributed as a thirdparty library. Removing this library doesn't work. The problem is that the scirender module and the gui modules depend on the old syntax. The Java path in the past was javax.media. In newer version of jogl2 this changed to com.jogamp. This means that besides removing the faulty library from scilab the modules scirender and gui need to be patched. I did just this in the last days. The git master branch version 6.1 build and works with the new jogl2 version. I noticed however one regression bug the cursor selection in the plot window work kind of inverted. This is an old bug which I have seen before.

So, yes this fixes the jogl2 bug. But, no likely not the scilab bug. Depends how you get scilab and which version probably.