0

当我在控制台中运行 arduino 时,我得到:

[lukas@lu arduino]$ arduino
Xlib:  extension "RANDR" missing on display ":0.0".
java.lang.IllegalArgumentException: Illegal pattern character 'r'
    at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:769)
    at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:576)
    at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:501)
    at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:476)
    at processing.app.tools.Archiver.init(Archiver.java:59)
    at processing.app.Editor.createToolMenuItem(Editor.java:859)
    at processing.app.Editor.addInternalTools(Editor.java:885)
    at processing.app.Editor.buildToolsMenu(Editor.java:660)
    at processing.app.Editor.buildMenuBar(Editor.java:476)
    at processing.app.Editor.<init>(Editor.java:205)
    at processing.app.Base.handleOpen(Base.java:704)
    at processing.app.Base.handleOpen(Base.java:669)
    at processing.app.Base.handleNew(Base.java:565)
    at processing.app.Base.<init>(Base.java:305)
    at processing.app.Base.main(Base.java:194)
Exception in thread "main" java.lang.NullPointerException
    at java.awt.Container.addImpl(Container.java:1041)
    at java.awt.Container.add(Container.java:373)
    at javax.swing.JPopupMenu.add(JPopupMenu.java:281)
    at javax.swing.JMenu.add(JMenu.java:579)
    at processing.app.Editor.addInternalTools(Editor.java:885)
    at processing.app.Editor.buildToolsMenu(Editor.java:660)
    at processing.app.Editor.buildMenuBar(Editor.java:476)
    at processing.app.Editor.<init>(Editor.java:205)
    at processing.app.Base.handleOpen(Base.java:704)
    at processing.app.Base.handleOpen(Base.java:669)
    at processing.app.Base.handleNew(Base.java:565)
    at processing.app.Base.<init>(Base.java:305)
    at processing.app.Base.main(Base.java:194)

10分钟后什么也没有发生。有任何想法吗?

4

1 回答 1

1

在运行 arduino 之前,我必须将语言环境更改为 en_US.UTF-8

export LANG=en_US.UTF-8 
于 2012-06-04T16:59:03.313 回答