The new Gradle build of Processing 4.4+ is generating a portable Linux build (yay! some of us get annoyed with snaps!) that doesn’t want to start (boo! what!).
On running ./Processing in the bin folder, I get:
Error: could not find libjava.so
Error: Could not find Java SE Runtime Environment.
I’ve tried mucking about with environment variables to point to the right location, but then realized, wait, this is the portable version and the file it needs is right there in the lib folder. So what gives?
:~/bin/Processing/bin$ strace -o tmp.txt ./Processing
Error: could not find libjava.so
Error: Could not find Java SE Runtime Environment.
:~/bin/Processing/bin$ ls
Processing tmp.txt
:~/bin/Processing/bin$ grep libjava.so tmp.txt
access("/home/josh/bin/Processing/lib/libjava.so", F_OK) = -1 ENOENT (No such file or directory)
access("/home/josh/bin/Processing/jre/lib/libjava.so", F_OK) = -1 ENOENT (No such file or directory)
stat("/home/josh/lib/libjava.so", 0x7fff53ae8150) = -1 ENOENT (No such file or directory)
write(2, "Error: could not find libjava.so", 32) = 32
looks like it’s looking in lib/ but not in lib/runtime/ ?