Why do I get the error “java.lang.NoClassDefFoundError: org/eclipse/swt/internal/XXX/OS.”?
On some platforms such as GTK, SWT is broken into multiple jars. Therefore, you must ensure that all required jars are on the classpath. The required jars are: • swt.jar (all platforms) • swt-pi.jar (some platforms like GTK and Carbon) • swt-mozilla.jar (for Browser widget on GTK and Motif) • swt-gtk.
Related Questions
- When I try to launch the VPN Client 4.9 for MAC OS 10.6, I receive this error: Error 51: Unable to communicate with the vpn subsystem. How to resolve this issue?
- What should I do if I encounter "java.lang.NoClassDefFoundError: com/instantiations/eclipse/debug/Tracer" error when trying to run my test?
- Why do I get the error "java.lang.NoClassDefFoundError: org/eclipse/swt/internal/XXX/OS."?