Community
Participate
Working Groups
Build ID: M20060921-0945 Steps To Reproduce: 1. I have a project (named prj1) which includes the library "Standard Widget Toolkit (SWT)". The option "Include support for JFace library" is unchecked, because the project doesn't need it. 2. I have a second project (named prj2) which refers to prj1. Prj2 includes the library "Standard Widget Toolkit (SWT)", too. But the option "Include support for JFace library" is checked, because the project need it! 3. If I start prj2 with "run as SWT application" or "run as Java application" there are no entries for the jface jars in the classpath. Therefore I get an exception java.lang.NoClassDefFoundError. 4. If I check the option "Include support for JFace library" for prj1 everything works fine. More information:
Ok, 'Run as SWT Application' is no longer necessary. Where does 'Include support for JFace library' exist in the UI?
I know that 'Run as SWT Application' is no longer necessary. I would to inform, that I have tried it with 'Run as SWT Application' and 'Run as Java Application'. If you edit build path in the project properties and select the tab 'Libraries' you can 'Edit' the library 'Standard Widget Toolkit (SWT)'. Then you get the 'SWT library options' which has a checkbox 'Include support for JFace library'.
(In reply to comment #1) > Where does 'Include support for JFace library' exist in the UI? I have no idea but would like to know too. Is this coming from JDT UI?
(In reply to comment #3) > (In reply to comment #1) > > Where does 'Include support for JFace library' exist in the UI? > > I have no idea but would like to know too. Is this coming from JDT UI? > I found this in the downloaded base installation 'eclipse-SDK-3.2.1-win32.zip'. I need no additional installation.
OK, now I know what is going on. The bug is VE-SWT, not Platform-SWT.