When I try to start the E2 Studio installation file: setup_fsp_v5_1_0_e2s_v2023-10.AppImage, I keep getting following error message:
Jan 12, 2024 4:53:10 PM org.apache.aries.spifly.BaseActivator logINFO: Registered provider org.slf4j.simple.SimpleServiceProvider of service org.slf4j.spi.SLF4JServiceProvider in bundle slf4j.simpleSWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback.Installer:An error has occurred. See the log file/home/sage/.eclipse/441734475_linux_gtk_x86_64/configuration/1705074788783.log.
The log file is attached.
Thank you very much for your help.
!SESSION 2024-01-12 13:59:37.055 ----------------------------------------------- eclipse.buildId=unknown java.version=17.0.8 java.vendor=Eclipse Adoptium BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -install.nolock Command-line arguments: -os linux -ws gtk -arch x86_64 -install.nolock !ENTRY org.eclipse.osgi 4 0 2024-01-12 13:59:40.755 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-pi4-gtk-4962r3 in java.library.path: /tmp/.mount_setup_jLyDpw/opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib/server:/tmp/.mount_setup_jLyDpw/opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib:/tmp/.mount_setup_jLyDpw/opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/../lib:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/libcanberra-0.30:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/krb5/plugins/preauth:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/printbackends:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-riscv64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-aarch64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-x86-64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-mips64el:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-loongarch64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-s390x:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-armel:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-ppc:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-ppc64le:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-x86:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-arm:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib/server:/tmp/.mount_setup_jLyDpw//lib/x86_64-linux-gnu:/tmp/.mount_setup_jLyDpw//lib/x86_64-linux-gnu/security:/tmp/.mount_setup_jLyDpw//lib/x86_64::/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib no swt-pi4-gtk in java.library.path: /tmp/.mount_setup_jLyDpw/opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib/server:/tmp/.mount_setup_jLyDpw/opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib:/tmp/.mount_setup_jLyDpw/opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/../lib:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/libcanberra-0.30:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/krb5/plugins/preauth:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/printbackends:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-riscv64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-aarch64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-x86-64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-mips64el:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-loongarch64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-s390x:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-armel:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-ppc:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-ppc64le:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-x86:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-arm:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib/server:/tmp/.mount_setup_jLyDpw//lib/x86_64-linux-gnu:/tmp/.mount_setup_jLyDpw//lib/x86_64-linux-gnu/security:/tmp/.mount_setup_jLyDpw//lib/x86_64::/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib no swt-pi4 in java.library.path: /tmp/.mount_setup_jLyDpw/opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib/server:/tmp/.mount_setup_jLyDpw/opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib:/tmp/.mount_setup_jLyDpw/opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/../lib:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/libcanberra-0.30:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/krb5/plugins/preauth:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules:/tmp/.mount_setup_jLyDpw//usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/printbackends:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-riscv64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-aarch64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-x86-64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-mips64el:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-loongarch64:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-s390x:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-armel:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-ppc:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-ppc64le:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-x86:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/linux-arm:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib:/tmp/.mount_setup_jLyDpw//opt/e2studio_installer/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.8.v20230801-1951/jre/lib/server:/tmp/.mount_setup_jLyDpw//lib/x86_64-linux-gnu:/tmp/.mount_setup_jLyDpw//lib/x86_64-linux-gnu/security:/tmp/.mount_setup_jLyDpw//lib/x86_64::/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib Can't load library: /home/sage/.swt/lib/linux/x86_64/libswt-pi4-gtk-4962r3.so Can't load library: /home/sage/.swt/lib/linux/x86_64/libswt-pi4-gtk.so Can't load library: /home/sage/.swt/lib/linux/x86_64/libswt-pi4.so at org.eclipse.swt.internal.Library.loadLibrary(Library.java:346) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:255) at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:97) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:169) at com.renesas.e2studio.installer.internal.InstallApplication.createGuiInstallOperation(InstallApplication.java:123) at com.renesas.e2studio.installer.internal.InstallApplication.createInstallOperation(InstallApplication.java:73) at com.renesas.e2studio.installer.internal.InstallApplication.start(InstallApplication.java:202) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588) at org.eclipse.equinox.launcher.Main.run(Main.java:1459) at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Hi Sage,
It seems like an environmental issue.
If you are using 32bit linux, please try this:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/
If you are using 64bit linux, please try this:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/
Looks like Others have the same problem. (Japanese).
https://qiita.com/t-yano-tryhard/items/8f37d0614212c7bdb083
I tried this also as good as possible (Google translate Japanese), but it didn't work for me either.
Would be great if someone from Renesas could fix that so Linux user can install the E2 Studio without such a hassle.