首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Arduino IDE不工作Linux Mint

Arduino IDE不工作Linux Mint
EN

Stack Overflow用户
提问于 2015-11-26 12:02:30
回答 1查看 370关注 0票数 0

我刚刚在Linux Mint上使用apt-get命令安装了Arduino IDE。当我运行该程序时,首先会看到这个窗口:

Adruino IDE Window

在选择一个文件夹来保存我的草图后,什么也没有发生。

我从命令行运行程序,所以我可以看到错误是什么,下面是它显示的内容:

代码语言:javascript
复制
arduino ide
Java HotSpot(TM) Server VM warning: You have loaded library /usr/lib/jni/librxtxSerial-2.2pre1.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
java.lang.UnsatisfiedLinkError: /usr/lib/jni/librxtxSerial-2.2pre1.so: /usr/lib/jni/librxtxSerial-2.2pre1.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jni/librxtxSerial-2.2pre1.so: /usr/lib/jni/librxtxSerial-2.2pre1.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123)
    at processing.app.Editor.populateSerialMenu(Editor.java:962)
    at processing.app.Editor.buildToolsMenu(Editor.java:691)
    at processing.app.Editor.buildMenuBar(Editor.java:476)
    at processing.app.Editor.<init>(Editor.java:205)
    at processing.app.Base.handleOpen(Base.java:705)
    at processing.app.Base.handleOpen(Base.java:670)
    at processing.app.Base.handleNew(Base.java:566)
    at processing.app.Base.<init>(Base.java:306)
    at processing.app.Base.main(Base.java:195)

我尝试在我的机器上重新安装Java,但没有成功。有人能帮我弄明白这个错误吗?

EN

回答 1

Stack Overflow用户

发布于 2015-11-27 11:58:00

解决了它。我猜我使用的Java版本有问题。我安装了Java8并将其设置为我的默认OpenJDK,一切都从那里开始工作。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33930373

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档