Go Down

Topic: [Resolve]Arduino + Java crash (Read 1 time) previous topic - next topic

The Clever Monkey


That work great,

I change on /usr/bin/arduino
the line (comment with #):
Code: [Select]

set_flags -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel


by this
Code: [Select]

set_flags -Dswing.defaultlaf=com.sun.java.swing.plaf.motif.MotifLookAndFeel

all work great thanks for help


Must be a difference between Arduino 1.0 and 1.0.1. My example was from 1.0.1.

Anyway, this proves that GTK, or a part of it, is not working right on this machine. Indeed, this is almost certainly the bug: https://bugs.kde.org/show_bug.cgi?id=261340

There is a solution in there that talks about "blacklisting" SWT.
I yield() for co-routines.

Badrocklo

Thanks,i try to solve with you'Re link but no change.
blacklist SWT in file don't do any change.
Anyways, my app don't crash at the begenning and now i have access to all menu, but i thinks my arduino board was down, im possible du load a program on it, but it's another problem so in another thread thansk.

Go Up