Recently, I have installed SWTDesigner (WBPro_v6.5.0_linux_x86.bin). But I have a problem with my SWT designer within eclipse. The error can be summed up as:
The first situation:
If I don’t import the swt-3.3.2-gtk-linux-x86_64.zip through archive file there will be an error like:
/home/pcs/jdk1.5.0_11/jre/lib/i386/libawt.so: Can't load IA 32-bit .so on a IA 32-bit platform
The Second situation:
After imported the swt-3.3.2-gtk-linux-x86_64.zip through archive file, and done these operations :
a).Org.eclipse.ptp.rm.orte.ui-->properties-->Java Build Path-->projects-->add-->org.eclipse.swt
b)…. -->Libraries-->Add JARs-->swt.jar/swt-debug.jar
c)….-->Order and Export-->select all-->OK.
d).open the file MySwtProject.java and select the “design” view.
And when I try to open the “design” view there are some error hints such as:
"Stack Trace: java.lang.NoClassDefFoundError: java.awt.Component at java.lang.Class.forName0(Native Method) at ......"
"No GUI Roots detected "
"Designer was unable to find any GUI elements in your source .
Check that the open compilation unit is a GUI class."
"Unknown window type"
What's wrong with this problem?
Thanks,
nudtpc