|[SOLVED] Eclipse doesn't launch. Could not load SWT library. [message #1836485]
||Tue, 05 January 2021 19:31
| Filip Banák
Registered: January 2021
Eclipse IDE 2020-12|
AdoptOpenJDK 15 with OpenJ9
It works with AdoptOpenJDK 11 with Openj9.
I do not mind running it with version 11 but why 15 doesn't work?
On Arch Linux:
jdk-openj9-bin from the AUR (version 15.0.1b9_openj9_0.23.0-1 as of now)
I downloaded the official Eclipse installer and installed the IDE, selecting my Java 15 runtime (The installer says Java 11+, so 15 should work.)
Installation went fine, but when I try to open any Eclipse IDE version (for Java or C++ or Rust), all of them refuse to start with the message
"An error has occurred see the log file ..."
I tried removing the .swt folder and installing libswt from official arch repositories, but that didn't help because it wants "libswt-pi4...", which isn't a part of that package.
Then I tried renaming the "libswt-pi3-gtk-4940r23.so" to "libswt-pi4-gtk-4940r23.so", but that also did not help.
It works when launching with the jdk11-openj9-bin, and jdk-openjdk(that is Java 14 as of now) packages from the AUR and official arch repositories respectively.
I did find very similar issues, but they were old or people were just missing the swt libraries or the Java search path was misconfigured or so, but no relation to Java 15.
There is no mention anywhere, as far as I could tell, that Java 15 isn't supported.
Thank You for help.
[Updated on: Wed, 06 January 2021 16:58]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03137 seconds