Posted by
Sven Gothel on
Mar 22, 2019; 9:56am
URL: https://forum.jogamp.org/Jogamp-fat-jar-not-deploying-on-a-Windows-7-64bits-machine-tp4039604p4039643.html
Yes, to make sure that the user is capable to execute files on a given path
one sadly to test today.
(execute == native lib loading)
The filesystem's executable mount option or advanced attributes differs from
out old 'directory is executable' to simply enter/read the directories content.
> Files.isExecutable(Path) (available since Java 1.8) should work.
> java.nio.files.Files.getPosixFilePermissions()
If the above can replace the 'intrusive' exe-test on all platforms,
we simply can use it where available via reflection.
If so .. great stuff.
+++
Here is a commit in one branch, which I will merge to master w/ the javafx
branch, disabling the exe test altogether. This of course will render
the whole automatic library loading void.
https://jogamp.org/git/?p=gluegen.git;a=commit;h=e7ac6b284eb3515f552cba491c43efe75f0a4ebaOn 3/22/19 10:39 AM, gouessej [via jogamp] wrote: