Re: JOGL 2.4 and Java 17 report

Posted by Mabula on
URL: https://forum.jogamp.org/JOGL-2-4-and-Java-17-report-tp4041572p4041685.html

Hi Julien

You are most welcome! Let us solve this.

It is definitely the problem that executing something in tmp is simply not allowed in Linux Mint 20.

And after reading a bit more about this, many Linux distributions don't allow you to execute executables in the TMP folders I think, at last some won't with default installations, so it should not be implemented like that I think.

If I load other native libs in my application, i copy them to tmp from my resources folder and simply load them. Works always, I don't need to execute a thing from that TMP folder.

So while JOGL is failing on Linux Mint here, my other native libs that are copied to tmp will just work.

There are similar issues like this on the JOGL forum completely relating to executing scripts in TMP I think, so all those can be solved. Like a similar issue on Ubuntu 18.

So I would not try to execute  a script there. Simply copy the correct LIBS to TMP for the platfrom and load them. That will ensure that issues like this will simply not happen.

I will be happy to provide my code that I use to load my native libs that does work on any linux distribution.

Mabula