"java.lang.UnsatisfiedLinkError" error when starting Arduino IDE

gettiing same problem.
attached is attempt to start from command line.

root@HPPRO430:/home/jbpett# arduino
Picked up JAVA_TOOL_OPTIONS: 
java.lang.UnsatisfiedLinkError: /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0: /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0: undefined symbol: sp_get_port_usb_vid_pid
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
        at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2662)
        at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
        at java.base/java.lang.System.loadLibrary(System.java:1873)
        at processing.app.Platform.<clinit>(Platform.java:143)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:315)
        at processing.app.BaseNoGui.initPlatform(BaseNoGui.java:514)
        at processing.app.Base.<init>(Base.java:201)
        at processing.app.Base.main(Base.java:141)
root@HPPRO430:/home/jbpett# 


works with ubuntu 22 upgrade from 20, but wont work on clean 22 install and ide install freom both snap and command. Think it might be a dependencies list problem. 
Limited linux knowledge

Same problem here, fresh Linux 5.15.0-56-generic Ubuntu 22.04.1 LTS install.

Picked up JAVA_TOOL_OPTIONS: 
java.lang.UnsatisfiedLinkError: /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0: /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0: undefined symbol: sp_get_port_usb_vid_pid
	at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
	at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
	at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
	at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2662)
	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
	at java.base/java.lang.System.loadLibrary(System.java:1873)
	at processing.app.Platform.<clinit>(Platform.java:143)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:315)
	at processing.app.BaseNoGui.initPlatform(BaseNoGui.java:514)
	at processing.app.Base.<init>(Base.java:201)
	at processing.app.Base.main(Base.java:141)

A bit more linux experience here, willing to help however I can to figure this bug out. Hopefully the devs have some insight on where to look.

Very similar issue. on arch with Linux 6.1.1-zen kernel

Picked up JAVA_TOOL_OPTIONS: 
java.lang.UnsatisfiedLinkError: no splashscreen in java.library.path: [/usr/share/arduino/lib, /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2673)
	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
	at java.base/java.lang.System.loadLibrary(System.java:1873)
	at java.desktop/java.awt.SplashScreen$1.run(SplashScreen.java:134)
	at java.desktop/java.awt.SplashScreen$1.run(SplashScreen.java:132)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.desktop/java.awt.SplashScreen.getSplashScreen(SplashScreen.java:131)
	at processing.app.Base.<init>(Base.java:240)
	at processing.app.Base.main(Base.java:150)

Edit: installing java 8 and 11 not headless fixed it for me. When i installed arduino it only installed the headless versions

1 Like

similar issue here, on Linux 5.18.5-rk3399, Ubuntu 22.04.1 LTS:

Picked up JAVA_TOOL_OPTIONS: 
java.lang.UnsatisfiedLinkError: /usr/lib/aarch64-linux-gnu/liblistSerialsj.so.1.4.0: /usr/lib/aarch64-linux-gnu/liblistSerialsj.so.1.4.0: undefined symbol: sp_get_port_usb_vid_pid
	at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
	at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
	at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
	at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2662)
	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
	at java.base/java.lang.System.loadLibrary(System.java:1873)
	at processing.app.Platform.<clinit>(Platform.java:143)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:315)
	at processing.app.BaseNoGui.initPlatform(BaseNoGui.java:514)
	at processing.app.Base.<init>(Base.java:201)
	at processing.app.Base.main(Base.java:141)

The first advice I would offer is to try Arduino IDE 2.x. This is a complete rewrite of Arduino IDE in TypeScript so you will definitely not encounter that Java-related error. Arduino IDE 2.x is under active development so even if you do experience some problem with 2.x, you will be more likely to get a resolution.

The Arduino IDE 2.x download links are listed here:

If you are set on sticking with Arduino IDE 1.x, I'll offer some additional advice: If you installed Arduino IDE via a package manager (e.g., APT, Snap, Flatpak, Brew, etc.), then try the official package downloaded from the arduino.cc "Software" page (the page has Arduino IDE 1.x download links in addition to the 2.x links):

https://www.arduino.cc/en/software#legacy-ide-18x

The 3rd party maintained packages have unknown modifications that regularly cause problems that do not occur when using the official Arduino IDE.

Conversely, even though I normally recommend against using the 3rd party versions of Arduino IDE distributed from the package repositories, I saw some here are using Arch Linux and from what I have seen the maintainer of the Arch package, NicoHood does a really good job and this specific package is definitely worth a try if the official Arduino IDE is not working for you.

I did some looking through the Arduino IDE 1.x issue tracker and this comment looked relevant:

https://github.com/arduino/Arduino/issues/11150#issuecomment-889909941

So maybe worth a try.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.