[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Can't run SWT

James A. Schulz wrote:
James,

There are only two dll's in my x86 folder:

swt-awt-win32-3064.dll

Should be 3123.dll not 3064 you have older verion. Download from the bottom of the M6 download page.

and

swt-win32-3064.dll

Where to I find the third dll to which you refer?

James

James Leotta wrote:

There are three dll's that go into the system32 directory. If you are in eclipse you need to recheck the items you have in the run tab and make sure they are not running as a swtapp but a java app. This became broken in the new release and will be repaired in the next.

James A. Schulz wrote:

Hasan:

Could it be that I have this problem because I am using jkk1.5.0_02?

James

Hasan wrote:

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.