简体   繁体   中英

Arduino IDE crashes on Ubuntu 14.04 Java Error

  1. I just downloaded Arduinoe ID 1.6.8 from arduino.cc .
  2. Placed it in home folder
  3. Then ran command ./arduino .

The Error that occurred:

java.lang.NoSuchMethodError: 

org.apache.commons.compress.utils.IOUtils.closeQuietly(Ljava/io/Closeable;)V
    at processing.app.helpers.PreferencesMap.load(PreferencesMap.java:76)
    at processing.app.PreferencesData.init(PreferencesData.java:53)
    at processing.app.BaseNoGui.initParameters(BaseNoGui.java:993)
    at processing.app.Base.guardedMain(Base.java:159)
    at processing.app.Base.main(Base.java:137)

If it's still actual or not I answer anyway. I met the same problem after a dist-upgrade. The solution for me was just to upgrade openjdk from 6th to 7th version:

$ sudo apt-get install openjdk-7-jre openjdk-7-jre-lib openjdk-7-jre-headless
$ sudo apt-get --purge remove openjdk-6-jre openjdk-6-jre-lib openjdk-6-jre-headless

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM