[SOLVED] Adrduino IDE crashes

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Adrduino IDE crashes

Postby mackowiakp » Jul 23rd, '17, 09:28

I try to run Arduino IDE on M6. But it crashes with such errors:

Code: Select all
[maciek@Piotr ~]$ arduino
/usr/bin/build-classpath: Could not find jackson-module-mrbean Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
Picked up JAVA_TOOL_OPTIONS:
java.lang.NoClassDefFoundError: com/fasterxml/jackson/module/mrbean/MrBeanModule
        at processing.app.BaseNoGui.initPackages(BaseNoGui.java:605)
        at processing.app.Base.<init>(Base.java:299)
        at processing.app.Base.guardedMain(Base.java:226)
        at processing.app.Base.main(Base.java:137)
Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.module.mrbean.MrBeanModule
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 4 more


Installation was done from original M6 repo.
Any idea how to resolve that problem?
Last edited by mackowiakp on Jul 25th, '17, 09:17, edited 1 time in total.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Adrduino IDE crashes

Postby doktor5000 » Jul 23rd, '17, 19:54

What java do you use and fro where did you install it? Please post the output of
Code: Select all
java -version
/sbin/alternatives --display java
readlink -f $(which java)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Adrduino IDE crashes

Postby mackowiakp » Jul 23rd, '17, 20:35

Here You are:

Code: Select all
[maciek@Piotr ~]$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b12)
OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode)
[root@Piotr ~]# /sbin/alternatives --display java
java — stan: automatycznie.
 dowiązanie obecnie wskazuje na /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/java - family java-1.8.0-openjdk.x86_64 priority 1800131
 podrzędne jjs: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/jjs
 podrzędne keytool: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/keytool
 podrzędne orbd: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/orbd
 podrzędne pack200: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/pack200
 podrzędne policytool: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/policytool
 podrzędne rmid: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/rmid
 podrzędne rmiregistry: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/rmiregistry
 podrzędne servertool: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/servertool
 podrzędne tnameserv: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/tnameserv
 podrzędne unpack200: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/unpack200
 podrzędne jre_exports: /usr/lib/jvm-exports/jre-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64
 podrzędne jre: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre
 podrzędne java.1.xz: /usr/share/man/man1/java-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne jjs.1.xz: /usr/share/man/man1/jjs-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne keytool.1.xz: /usr/share/man/man1/keytool-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne orbd.1.xz: /usr/share/man/man1/orbd-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne pack200.1.xz: /usr/share/man/man1/pack200-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne policytool.1.xz: /usr/share/man/man1/policytool-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne rmid.1.xz: /usr/share/man/man1/rmid-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne rmiregistry.1.xz: /usr/share/man/man1/rmiregistry-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne servertool.1.xz: /usr/share/man/man1/servertool-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne tnameserv.1.xz: /usr/share/man/man1/tnameserv-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
 podrzędne unpack200.1.xz: /usr/share/man/man1/unpack200-java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64.1.xz
Obecnie „najlepszą” wersją jest /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/java.
[root@Piotr ~]# readlink -f $(which java)
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.1.mga6.x86_64/jre/bin/java


Its the latest from M6 repo
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Adrduino IDE crashes

Postby doktor5000 » Jul 24th, '17, 07:28

Can reproduce your issue, please report that as a bug, after searching if it hasn't been reported yet already: https://wiki.mageia.org/en/How_to_report_a_bug_properly
For completeness's sake and also to allow others to follow up on that bug report, please also post the link to it here in the thread, thanks.

FWIW, you could try the workaround from https://bugzilla.redhat.com/show_bug.cgi?id=1380938 that is, as root run
Code: Select all
ln -s /usr/share/java/jackson-modules-base /usr/share/java/jackson-module-mrbean

Works fine here. Please also mention that in the bugreport.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Adrduino IDE crashes

Postby mackowiakp » Jul 24th, '17, 11:07

Yep. Workaround works for me
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Adrduino IDE crashes

Postby doktor5000 » Jul 25th, '17, 08:28

Yes but it seems you forgot the important part:
doktor5000 wrote:Can reproduce your issue, please report that as a bug, after searching if it hasn't been reported yet already: https://wiki.mageia.org/en/How_to_report_a_bug_properly
For completeness's sake and also to allow others to follow up on that bug report, please also post the link to it here in the thread, thanks.


Please also mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Adrduino IDE crashes

Postby mackowiakp » Jul 25th, '17, 09:16

OK
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron