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. …