Community
Participate
Working Groups
While using swt plug ins,fot this type of exception Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/internal/win32/OS at org.eclipse.swt.widgets.Display.internal_new_GC(Display.java:1109) at org.eclipse.swt.graphics.Device.init(Device.java:541) at org.eclipse.swt.widgets.Display.init(Display.java:1128) at org.eclipse.swt.graphics.Device.<init>(Device.java:90) at org.eclipse.swt.widgets.Display.<init>(Display.java:279) at org.eclipse.swt.widgets.Display.<init>(Display.java:275) at org.swtchart.examples.ScatterChartExampleTest.main(ScatterChartExampleTest.java:36) Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.internal.win32.OS at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 7 more
moving to swt
Can you be more explicit about what exactly you're trying to do? Which version of SWT are you using and how are you running the application? Can you attach the example program you're trying to run? Are you using the 32-bit libraries or the 64-bit libraries (and corresponding JREs) ?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the stalebug whiteboard tag.