Como corregir: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout (Debian/lenny)

Búsqueda personalizada

Finalmente tuve algunas horas para descansar y tocar mi guitarra. Entonces abrí mi termina e intenté ejecutar tuxguitar(para practicar: ysellamaperu.mid desde "El Rincón Musical Peruano")

pero....

Hay un terrible y poco expresivo mensaje "bug" (like 99% of "yankee" code):

Exception in thread "main"
java.lang.NoClassDefFoundError:
org/eclipse/swt/widgets/Layout

Entonces me fui a google, intenté con strace, y recordé algunos problemas recientes con dpkg "ln -s" (o los enlaces dinámicos)
La forma en que corregí esto fue:

# sudo rm /etc/alternatives/swt.jar
# sudo ln -s /usr/share/java/swt-gtk-3.2.2.jar /etc/alternatives/swt.jar

Y por favor déjenme tocar mi guitarra en paz!!!
Bendiciones :D

Trackback URL for this post:

http://develcuy.com/es/trackback/62
Posted In

Enviar un comentario nuevo

El contenido de este campo se mantiene como privado y no se muestra públicamente.
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.