arduino0017 on Debian linux, Java error

Hello All,

New to this forum, 1st post. I am trying to install the arduino IDE under debian linux. Running into a java error. Hopefully this has already been figured out, and someone can point me in the right direction.

As soon as I execute the shell script “ardunio”, I get the following:

~/arduino/arduino-0017$ ./arduino
Exception in thread “main” java.lang.Error: can’t load com.sun.java.swing.plaf.gtk.GTKLookAndFeel
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1340)
at javax.swing.UIManager.initialize(UIManager.java:1421)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1409)
at javax.swing.UIManager.getDefaults(UIManager.java:659)
at javax.swing.filechooser.FileSystemView.getFileSystemView(FileSystemView.java:80)
at javax.swing.JFileChooser.setup(JFileChooser.java:371)
at javax.swing.JFileChooser.(JFileChooser.java:347)
at javax.swing.JFileChooser.(JFileChooser.java:300)
at processing.app.Base.selectFolder(Base.java:1588)
at processing.app.Base.promptSketchbookLocation(Base.java:1506)
at processing.app.Base.getDefaultSketchbookFolder(Base.java:1474)
at processing.app.Base.(Base.java:314)
at processing.app.Base.main(Base.java:239)

Anyone with any ideas would be greatly appreciated.

Thanks,

Russ F.

Kutztown,PA

Hi I suggest you install the sun-java6-jre package shown on this page
http://wiki.debian.org/Java

The GTKLoookAndFeel is part of this package.
Eberhard

Thanks. I give that a shot. I was able to get the IDE up and running by commenting out the "-D" switch for the "Look and Feel" stuff for the java call in the startup script. Seem to work O.K.

Thanks again.