andyvand / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Lunch4j - problem #970

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download sdk
2. Start Arduino.exe

Arduino IDE should start. But it's not working:
lunch4j error is thrown in messagebox.

I'm using Arduino with java folder inside IDE version is 1.0.1. 
I'm on Windows 7 64 bit. 

Original issue reported on code.google.com by Wojciech...@gmail.com on 28 Jun 2012 at 1:57

GoogleCodeExporter commented 9 years ago
I found a solution: 
C:\Users\zarskw01\Desktop\arduino-1.0.1>java\bin\java -Duser.language=pl 
-Duser.country=PL -classpath "lib;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ec
j.jar;lib\RXTXcomm.jar" processing.app.Base
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:1045)
        at java.awt.Container.add(Container.java:365)
        at javax.swing.JPopupMenu.add(JPopupMenu.java:272)
        at javax.swing.JMenu.add(JMenu.java:562)
        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)

just need to change lang to en.

When 1.0.2 would be released?

Original comment by Wojciech...@gmail.com on 28 Jun 2012 at 2:20

GoogleCodeExporter commented 9 years ago
You can find property file and change current language:
editor.languages.current=en
bye default there is nothing set.

Prop file: "C:\Users\[user_name]\AppData\Roaming\Arduino\preferences.txt"

Original comment by Wojciech...@gmail.com on 28 Jun 2012 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 29 Jun 2012 at 3:57

GoogleCodeExporter commented 9 years ago
This could be connected to 
http://code.google.com/p/arduino/issues/detail?id=1094

Original comment by pow...@gmx.de on 11 Dec 2012 at 6:20