Posted by
Martin on
URL: https://forum.jogamp.org/JOGL-2-4-and-Java-17-report-tp4041572p4041688.html
What is surprising is that you don't have any .so file extracted here as I found in my tmp dir with the tree command. I think the execution fails before the native gets unpacked in the file_cache directory. And once again, I don't understand why the .so file are search in /opt/astropixelprocessor/ whereas JOGL should rather search in one of the temporary directory listed below.
Your latest stack trace shows that before trying to load the .so file, it can't execute jogamp_exe_tst1955596410558205141.sh. The .sh file contains
dummy code to verify permissions.
The exe_tst file executions have been attempted to
- /tmp/ (in var tempX1)
- /home/mabula/.cache/ (in var tempX2)
- /home/mabula/ (in var tempX4)
None of them worked.
Can you find the file in one (or all) of these folders and try running it? The stack trace says permission is not allowed, but I could not find further information about
error=13 in ProcessBuilder documentation.
On my Ubuntu 20 I get JOGL extracted here (and not in /opt/something)
tree /tmp/jogamp_0000/file_cache/
/tmp/jogamp_0000/file_cache/
├── jln17150038617626242421
│ ├── jln5111001095774168370
│ │ └── natives
│ │ └── linux-amd64
│ │ ├── libgluegen_rt.so
│ │ ├── libjogl_desktop.so
│ │ ├── libjogl_mobile.so
│ │ ├── libnativewindow_awt.so
│ │ ├── libnativewindow_drm.so
│ │ ├── libnativewindow_x11.so
│ │ ├── libnewt_drm.so
│ │ └── libnewt_head.so
│ └── jln5111001095774168370.tmp
├── jln17150038617626242421.lck
└── jln17150038617626242421.tmp