I really don't know. I have spent 3 #@$!@# days to make it work.
This is what I did:
*Install eclipse 3.0.2 instead of 3.1M6. You can uninstall easily by
removing the eclipse folder from your computer. No registry values
are changed.
*Install eclipse directly to my harddisk: C:\eclipse\..........
*For the standalone SWT App in the tutorial fill in:
-Djava.library.path=C:\eclipse/plugins/org.eclipse.swt.win32_3.0.2/os/win32/x86
Make sure your java settings are correct:
I've installed j2sdk1.4.2_08 on my C disk.
Then I've set the PATH (configuration screen > system > advanced TAB
> environment variables) to C:\j2sdk1.4.2_08\bin
(There can be more than one item separated by ";")
For the CLASSPATH I've filled in a "." (dot).
And know it works. I know that what i've wrote is basic but this is
all I have done. Good luck.