You are not logged in.

#1 2020-10-09 19:00:39

Fernando12324
Member
Registered: 2020-10-09
Posts: 1

error installing arduino

Hi!
I need install the IDE do arduino in my system, when write "sudo pacman -S arduino" in terminal the installation concludes, but when execute the IDE in terminal i get this error:

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:2670)
        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:246)
        at processing.app.Base.main(Base.java:150)

when was searching in google see a posts speaking that could be problemem an the JDK, i tried others versions  but it didn't work. If anyone can help I appreciate

java -version
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10)
OpenJDK 64-Bit Server VM (build 11.0.8+10, mixed mode)


!# sorry if i spoke a wrong word, i don't speak english well !#

Offline

#2 2020-10-09 22:18:58

cupid_stunt
Member
Registered: 2020-08-15
Posts: 21

Re: error installing arduino

In your case the most important thing you  need is the JRE (Java Runtime Environment ,  the part that actually runs the java code).
I believe there is a problem with the way it is installed, or the way Arduino is configured to look for Java libs.

I am by all means NOT an expert in the Java field but the first thing I would do now is to try to run other java apps.
Can you test and see if you can run  any other java applications? (e.g. Netbeans)
You can also try to  give the argument "--nosplash" and see if that helps.

Offline

#3 2020-10-10 15:58:11

pintert3
Member
Registered: 2020-05-08
Posts: 12

Re: error installing arduino

It's a common problem with installing arduino: I think you need to install arduino-avr-core for starters


Things are never what they seem...

Offline

#4 2020-10-10 16:29:37

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,451

Re: error installing arduino

Fernando12324 wrote:

but when execute the IDE in terminal i get this error

*How* are you launching the IDE - post your exact command line? It looks like your default JRE is 11. Try switching it to JRE8 (you may need to install jre8-openjdk first). Also make sure to read the Arduino Wiki, since it describes important steps with regards to optional dependencies that won't get installed by default.

Offline

#5 2020-10-10 16:55:41

pintert3
Member
Registered: 2020-05-08
Posts: 12

Re: error installing arduino

twelveeighty wrote:
Fernando12324 wrote:

but when execute the IDE in terminal i get this error

*How* are you launching the IDE - post your exact command line? It looks like your default JRE is 11. Try switching it to JRE8 (you may need to install jre8-openjdk first). Also make sure to read the Arduino Wiki, since it describes important steps with regards to optional dependencies that won't get installed by default.

I also had a similar (if not same) problem a while ago, and that didn't work. jre11 works fine; in fact it's what I use. I think I solved the problem by installing arduino-avr-core. Somehow, I think it has a component that the IDE needs. It was actually reported here

Last edited by pintert3 (2020-10-10 17:08:50)


Things are never what they seem...

Offline

Board footer

Powered by FluxBB