arduino1.0.5+processing2.01->ams.tool.AppletMaker.<clinit>(Unknown Source)SOLVED

Hi,

Im using linux mint15 64 and after changing the default sketchbookfolder (in processing) from /root/sketchbook to /home/user/sketchbook it prints an java error , only if I start Arduino as root.

usr arduino-1.0.5 # ./arduino 
Exception in thread "main" java.lang.NoSuchMethodError: processing.app.Base.getSketchbookToolsFolder()Ljava/io/File;
	at ams.tool.AppletMaker.<clinit>(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:266)
	at processing.app.Editor.addTools(Editor.java:791)
	at processing.app.Editor.buildToolsMenu(Editor.java:672)
	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)

Processing and energia is starting normally.
Now I changed sketchupfolder back to default, and deleted processingfolder. still the same error.

How can I start Arduino? :slight_smile:

…I just changed the sketchbook location in preferences.txt and now its starting again.