Can the Ignition’s bundled java be used on a RPi? I set the bash command to useBundledJre=true, but it still uses Rasbian Java 11.0.3
Our Java runtime for ARM does not include JavaFX right now, so it cannot be used for the client launchers.
edit: ah, I see you might be talking about the legacy launcher script instead?
No I’m using the client launcher. Since Rasbian Java 11.0.3 isn’t a version that Ignition supports, I will have to install another version. I’m guessing Zulu Embedded 8.
What version of Ignition is this?
Ok then yes, you want Java 8 instead of Java 11.
How to install Zulu 8 on raspberry pi 3:
sudo mkdir /opt/jdk/ cd /opt/jdk sudo wget http://cdn.azul.com/zulu-embedded/bin/zulu184.108.40.206-jdk1.8.0_181-linux_aarch32hf.tar.gz sudo tar -xzvf /opt/jdk/zulu220.127.116.11-jdk1.8.0_181-linux_aarch32hf.tar.gz sudo update-alternatives --install /opt/jdk/zulu18.104.22.168-jdk1.8.0_181-linux_aarch32hf.tar.gz 1 sudo update-alternatives --set java /opt/jdk/zulu22.214.171.124-jdk1.8.0_181-linux_aarch32hf.tar.gz nano .profile #copy this to the end of the file JAVA_HOME="/opt/jdk/zulu126.96.36.199-jdk1.8.0_181-linux_aarch32hf.tar.gz" export JAVA_HOME PATH="$JAVA_HOME/bin:$PATH" control + O press enter control + X sudo visudo #add this to the end of default declarations Defaults env_keep +="JAVA_HOME" control + O press enter control + X reboot #check to see current java version java -version
You should see
openjdk version "1.8.0_181" OpenJDK Runtime Environment (Zulu 188.8.131.52-linux_aarch32hf) (build 1.8.0_181-b122) OpenJDK Client VM (Zulu 184.108.40.206-linux_aarch32hf) (build 25.181-b122, mixed mode, Evaluation)
What’s wrong with the OpenJDK8 packaged by raspbian? I have a customer running Vision clients with v7.9.12 that way. Is there something it doesn’t support?
Not that I know of, when I set up Rasbian it used Java 11.0.3 version by default. It may be easier to switch it to OpenDJK8 then to Zulu, but I decided to go with Zulu arbitrarily. Definitely not an expert on this.