[Solved] Chromebook installation OK but all code fails to run

Even sample code fails to run with a vanilla installation of Processing 4.3.3 in a Linux container on an ARM Chromebook (installed using these instructions).

Is there anything in the following error messages that would indicate a logical next step to get Processing working on this device?


The IDE starts up fine but shows this console error:

The function "noLoop()" does not exist

When I run this code …

size(400, 400);
ellipse(200,200,300,300);

… I get this error in the console:

Could not run the sketch

and

/home/mb668/processing-4.3.3/java/bin/java: 1: : not found
/home/mb668/processing-4.3.3/java/bin/java: 1: cannot create x@@8@8@@@@hh����: Permission denied
/home/mb668/processing-4.3.3/java/bin/java: 2: Syntax error: Unterminated quoted string
Using startup command: /home/mb668/processing-4.3.3/java/bin/java -agentlib:jdwp=transport=dt_socket,address=8213,server=y,suspend=y,quiet=y -Djna.nosys=true -Djava.library.path=:/home/mb668/processing-4.3.3/core/library/linux-aarch64:/usr/java/packages/lib:/usr/lib/aarch64-linux-gnu/jni:/lib/aarch64-linux-gnu:/usr/lib/aarch64-linux-gnu:/usr/lib/jni:/lib:/usr/lib -cp /tmp/processing/sketch_250304g8108142780033958520temp:/home/mb668/processing-4.3.3/core/library/jogl-all.jar:/home/mb668/processing-4.3.3/core/library/gluegen-rt.jar:/home/mb668/processing-4.3.3/core/library/core.jar -ea processing.core.PApplet --editor-location=500,25 --external --display=1 --sketch-path=/tmp/processing/0651837b-724d-455f-97f8-ee61f91cb95b/sketch_250304g sketch_250304g

The only java installed on the system is what would have been included in the Processing installation package.

mb668@penguin:~$ java -version
openjdk version "17.0.14" 2025-01-21
OpenJDK Runtime Environment (build 17.0.14+7-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.14+7-Debian-1deb12u1, mixed mode, sharing)

Should Processing work in a Linux container on an ARM Chromebook, or do these errors mean that Processing will never run on this device?

Solved. Don’t download the Linux version but rather the Raspberry Pi version. The former is x86 architecture and the latter is ARM. Yes, this is obvious in hindsight but was not obvious at the time.

That’s a good catch! Thanks for sharing your solution, @mb668 :folded_hands:

When downloading Processing for your Chromebook, make sure to select the version that matches your CPU architecture:

To check your CPU architecture, open a terminal and run this command:

uname -m
  • If the output is x86_64, download the Intel/AMD 64-bit version.
  • If the output is aarch64, download the ARM 64-bit version.
  • If the output is armv7l, download the ARM 32-bit version.
1 Like