Installation issue linux ubuntu 16.04

Hello,
I have an issue while installing ELAN (I work with Ubuntu 16.04). When I try to install ELAN (5.04), there is a following error:

“Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit”
(The description is a bit longer).

I installed JRE (java version: 1.8.0_191) following these instructions: https://www3.ntu.edu.sg/home/ehchua/programming/howto/JDK_Howto.html#zz-3. I tried to install ELAN with commands “sudo chmod +x ./elan.bin” and “sudo ./elan.bin” (I renamed the file).

I am quite new to Linux, so I would be very grateful for help.
Best regards

Hmm, the installer should still work on Ubuntu 16 (I just checked, although in combination with Java 1.8.0_31).
It seems that Java is found (I assume if you open a Terminal and type “java -version” you’ll get some output) but that there is a problem in creating a window.
A quick internet search for the “Could not etc.” message learns that some people had to install (a different version of) “libxtst6”. Maybe you can compare your longer description with the errors (and possible solutions) reported by others?

-Han

There is now an alternative version for Linux, ELAN 5.4-FX, which you can try.
It includes a Java 11 runtime and a modified package structure to make it compatible with higher Java versions. It is tested on Ubuntu 18.04, but it might work on 16 as well.