Run size(800, 600) errors: Exception in thread

I’m trying to run Processing 4.3 and I’m receiving errors.
Originally, I installed Processing flawlessly. There were no issues.
I have since reinstalled my system and tried installing from the location I placed the original files, in the downloads folder and I am getting errors.
$ ./processing

I am using Arch Linux, xfce4, with the latest kernel.
openJDK17 because Arch Linux doesn’t offer Oracle.

Exception in thread "Thread-108" java.lang.RuntimeException: Exception while attempting /home/myName/Downloads/Programming/processing-4.3/java/bin/java -agentlib:jdwp=transport=dt_socket,address=8394,server=y,suspend=y,quiet=y -Djna.nosys=true -Djava.library.path=:/home/myName/Downloads/Programming/processing-4.3/core/library/linux-amd64:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib -cp /tmp/processing/oceanic_medicine8849676394448867468temp:/home/myName/Downloads/Programming/processing-4.3/core/library/gluegen-rt.jar:/home/myName/Downloads/Programming/processing-4.3/core/library/jogl-all.jar:/home/myName/Downloads/Programming/processing-4.3/core/library/core.jar -ea processing.core.PApplet --editor-location=333,84 --external --display=1 --sketch-path=/tmp/processing/cf200fa6-4985-4f05-8206-98e862522074/oceanic_medicine oceanic_medicine
	at processing.core.PApplet.exec(PApplet.java:3193)
	at processing.mode.java.runner.Runner.lambda$launchJava$0(Runner.java:527)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.IOException: Cannot run program "/home/myName/Downloads/Programming/processing-4.3/java/bin/java": error=13, Permission denied
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
	at java.base/java.lang.Runtime.exec(Runtime.java:594)
	at java.base/java.lang.Runtime.exec(Runtime.java:453)
	at processing.core.PApplet.exec(PApplet.java:3191)
	... 2 more
Caused by: java.io.IOException: error=13, Permission denied
	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:314)
	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:244)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
	... 6 more

Error message says permission was denied for your Downloads folder. Things you could try is to change permissions for Downloads or move it to another location where you do have permission.

1 Like

What is amazing, the Downloads folder is the most permissive directory in Linux, pretty much everything can RWE in it, at the user level.
drwxr-xr-x 7 myName myName 4.0K Oct 2 13:44 processing-4.3
drwxr-xr-x 48 myName myName 4.0K Nov 3 11:23 Downloads