Hi, I'm trying to see if there's a way to use ignition 8 on raspberry pi as a client. The main ignition install is already on a x86_64 machine and works fine. However, since the change to native client launchers, I don't see a way to run (easily) ignition on a 32bit pi as the client launchers are expecting a different architecture.
Seeing as I’ve already developed a vision based system, there’s likely not a simple “perspective shift” is there?
I’ve also dug into the clientlauncher and found the .jar file. Is there no more .jnlp download available?
Using this jdk for arm32 I get the following error (followed by others)
pi@RevPi15201:~ $ ./jdk-11.0.3+7/bin/java -jar visionclientlauncher/app/launcher-vision-client-linux.jar
INFO [ClientLauncher ] [2019/04/29 18:10:40]: Using /home/pi/.ignition/clientlauncher-data/visionclientlauncher.log to store logging info. Check there for all future logging events.
OpenJDK Server VM warning: You have loaded library /home/pi/.openjfx/cache/11.0.2/libprism_es2.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: /home/pi/.openjfx/cache/11.0.2/libprism_es2.so: /home/pi/.openjfx/cache/11.0.2/libprism_es2.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
java.lang.UnsatisfiedLinkError: /home/pi/.openjfx/cache/11.0.2/libprism_es2.so: /home/pi/.openjfx/cache/11.0.2/libprism_es2.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
Ok, so it appears that the revpi core 3 (the pi I’m using) doesn’t actually have the armv8 BCM2837 chip in in. /proc/cpuinfo shows BCM2835 (that’s a pi1 cpu) and uname -m shows armv71 (32 bit).
I’ll see what I can do reaching out to them in the meantime.
I did get the legacyclientlauncher.tar.gz downloaded from a 7.9 install and ran that on the pi. It worked fine with the 7.9 edge server it was connecting to.
I modified the project name, the platform.edition to blank, and the gateway.addr to the correct ip. I got errors regarding unpacking java-cup-10k.jar
Are the legacy client launcher files no longer available in 8?
You can get a copy of clientlauncher.jar from the lib/core/launch folder of an Ignition 8 install. The location @Paul.Scott suggested is where it ends up when the launcher downloads it but you aren’t able to get that far.
The legacy launchers are not available with Ignition 8.
7.9 is an LTS version so it’s supported for 5 years from the first release, so it’s supported until December 2021 in this case.
Ignition 8.0 supports running the gateway on ARM and we’re aware the Vision Client and Launchers don’t run on ARM. I’m not sure if this will change significantly. We may be able to ship launchers that have native components compatible with ARM sometime in the future but it would still require that the system have its own JDK installed because the ARM JDKs we license and ship with are headless.