Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

LinkageError at install, how to resolve that?

0 votes

This is what I tried:

$ bash yEd-3.20.1_with-JRE14_64-bit_setup.sh

This is what I got:

Unpacking JRE ...
Starting Installer ...
Error: LinkageError occurred while loading main class com.install4j.runtime.launcher.UnixLauncher
    java.lang.UnsatisfiedLinkError: /home/username/Downloads/yEd-3.20.1_with-JRE14_64-bit_setup.sh.11750.dir/jre/lib/libnio.so: /home/username/Downloads/yEd-3.20.1_with-JRE14_64-bit_setup.sh.11750.dir/jre/lib/libjava.so: version `SUNWprivate_1.1' not found (required by /usr/lib/jvm/default-java/jre/lib/amd64/libnet.so)

Any idea what to try?

java versions tried: openjdk 8  and oracle java 14.0.2+12-46

in Help by (130 points)
edited by

1 Answer

+1 vote

Seems like your LD_LIBRARY_PATH points to a location it should not point to. Try unsetting your LD_LIBRARY_PATH before running the yEd installer.

Alternatively, install Java from your package manager or from http://jdk.java.net/14/ and use the Zipped yEd Jar file from the yEd download page instead of an installer script.

by [yWorks] (146k points)
Thank you. That solved the problem:
1. unset LD_LIBRARY_PATH
2. bash yEd-3.20.1_with-JRE14_64-bit_setup.sh
Legal Disclosure | Privacy Policy
...