Unknown error message on RPI3 with Processing 3.3.7

RPI3 with Ubunutu MATE 16.04 on RPI3

Last year Processing was installed along JRE8 and it worked fine.
After a corruption of the SSD I did a complete re-installation. Installed the latest Processing IDE 3.3.7. When any ecample os loaded the following error message appears:

An unexpected, unknown, and unrecoverable error occurred while opening a new editor window. Please report this.

Yep. That is what I am doing here. Any suggestions to fix this?

I should have added…
about 50 java related items were listed.

Update: I followed the procedure given in

The error message still appears with some examples. For othe examples there is just a small square window with a grey background.

1 Like

Possible to copy and paste your error msg here? Sometimes the first line or two provides info crucial to debug.

Kf

@VTVL I would suggest sticking with Raspbian if you want to use Processing, since this is the environment that is most tested. Here you can find a pre-configured image for you to quickly test on a microSD card.

There is of course nothing in the source code that would attempt to throw a wrench into any other distribution it runs ons…

1 Like

I did two things which helped to correct the problem:

First uninstall processing

and

  then ensure that java 8 oracle is installed  and set as the JAVA_HOME  in /etc/environment

Then reinstall processing 3.3.7

Then Processing worked BUT see 2) below:

JAVA configuration

~$ sudo update-alternatives --config java

  There are 2 choices for the alternative java (providing /usr/bin/java).

    Selection    Path                                            Priority   Status
3 Likes

@VTVL thank you so much for sharing your solution with the forum.

Complete messge

I did two things which helped to correct the problem:

First uninstall processing

and

then ensure that java 8 oracle is installed and set as the JAVA_HOME in /etc/environment

Then reinstall processing 3.3.7

Then Processing worked BUT see 2) below:

JAVA configuration

~$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status

0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode
1 /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java 1074 manual mode

  • 2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode

Press to keep the current choice[*], or type selection number:
~$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle

The /usr/lib/jvm actually contains

symlink folder default-java which points to folder java-1.8.0-openjdk-armhf

symlink folder java-1.8.0-openjdk-armhf folder java-8-openjdk-armhf

folder java-8-openjdk-armhf

folder java-8-oracle

/etc/environment

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java"
JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre/bin/java"

… BUT the graphics was not smooth. It sort of blinked.

Some reading about RPI issues with blinking graphics led to the suggestion to change the default settings in raspi-config.

The suggestion to change the memory split did not help. Leave it on 64.

The suggestion to select GL (Fake KMS) Open desktop driver or GL (Full MKS) worked with option G2 (Fake MKS). I.E. no more blinking graphics. I selected GL (Fake KMS).

So Processing 3.3.7 can be used with Ubuntu MATE 16.04 with the configuration as noted here.

The next step is to once again configure for headless operation with VNC. …

1 Like