Home Forums Software ELAN Installation issue linux ubuntu 16.04

Installation issue linux ubuntu 16.04

This topic contains 2 replies, has 2 voices, and was last updated by  Han 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
Author Posts
Author Posts
December 17, 2018 at 22:53 #12562


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

December 18, 2018 at 12:06 #12563


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?


January 16, 2019 at 15:56 #12598


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.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.