How to fix: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout (Debian/lenny)
Finally I got some hours to rest and play my guitar. Then I opened my xterm and tried to run tuxguitar(to practice: ysellamaperu.mid from "El Rincón Musical Peruano") but....
There is a terrible and poor in expression "bug" (like 99% of "yankee" code):
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout
Then I googled, tried with strace, and remembered some recent dpkg problems with "ln -s" (or dinamic links)
The way i fixed this is:
# sudo rm /etc/alternatives/swt.jar # sudo ln -s /usr/share/java/swt-gtk-3.2.2.jar /etc/alternatives/swt.jar
And please let me play my guitar in peace!!!
Blesings :D
Trackback URL for this post:
http://www.develcuy.com/en/trackback/23
Reply
Recent blog posts
- On travel
- I'm moving out of MySQL
- Multiseat, Multiterminal, Green computer
- Organic Groups Subscriptions v 1.1 (requeriments, configure, install and 5 tests)
- Agile Approach stuff
- HOWTO Screencasting from console with sox and ffmpeg
- EXA, XAA, Xorg and Firefox memory leak
- Screencast: Howto install Fivestar Multiaxis and Karma hand up&down
- Access Visual Foxpro Tables(Vfp Dbf) from Linux
- Drupal API: Javascript Startup Guide









Recent comments
11 weeks 17 hours ago
12 weeks 1 day ago
13 weeks 5 days ago
21 weeks 9 hours ago
36 weeks 4 days ago