How to fix: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout (Debian/lenny)

Búsqueda personalizada

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://develcuy.com/es/trackback/23
Posted In

Enviar un comentario nuevo

El contenido de este campo se mantiene como privado y no se muestra públicamente.
  • Las direcciones de las páginas web y las de correo se convierten en enlaces automáticamente.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h3> <h2> <hr> <sup> <i> <b>
  • Saltos automáticos de líneas y de párrafos.

Más información sobre opciones de formato

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
              ____     ___    _____  ____    _ 
_ __ ___ | _ \ ( _ ) |__ / |___ \ | |
| '_ ` _ \ | | | | / _ \ / / __) | | |
| | | | | | | |_| | | (_) | / /_ / __/ | |
|_| |_| |_| |____/ \___/ /____| |_____| |_|
Enter the code depicted in ASCII art style.