Ignition Edge 8.1 on Raspberry Pi w/ Ubuntu x64

I have a Raspberry Pi 4 with a 64-bit install of Ubuntu running on it. I installed the ARM ignition gateway on the device and am attempting to run a vision client on the same device for testing purposes.

I installed Liberica JDK for 64-bit arm. I am getting the following error when trying to launch the vision client using the legacy script:

Error Launching application:
IllegalAccessError: class
de.javasoft.plaf.synthetica.SyntheticaLookAndFeel
(in unamed module @0x47433d95) cannot access
class sun.swing.DefaultLookup (in module
java.desktop) because module.desktop does
not export sun.swing to unnamed module
@0x47433d95
Retry Exit

What version of Liberica JDK are you using?

I installed: Liberica Standard JDK 8u282+8 ARM 64 bit for Linux

from: https://download.bell-sw.com/java/8u282+8/bellsoft-jdk8u282+8-linux-aarch64.deb

I will admit I am a little out of my element here. Do I have to tell the launcher to use this particular install of Java? As far as I can tell this is the only one I have installed.

Too old, you need to use at least JDK 11 with Ignition 8.x.

Not the error I would hav expected, though.

You don't get to use launchers at all on ARM, that's what the shell script is for. It's going to pick up the Java version from your environment.

What do you get if you just run java -version from a terminal?

Apologies. I think I copied the wrong information from the website, java --version is reporting:

aa@ignition:/etc/init.d$ java --version
openjdk 16 2021-03-16
OpenJDK Runtime Environment (build 16+36)
OpenJDK 64-Bit Server VM (build 16+36, mixed mode)
aa@ignition:/etc/init.d$

Okay, that’s more in line with what I expected.

I think you’ll have use an older version or try adding this to your shell script somewhere after the java argument:

--illegal-access=permit
1 Like

That worked, thank you!