• Post Reply Bookmark Topic Watch Topic
  • New Topic

Swt setup  RSS feed

 
Thai Son Cung
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using my swt to develope some GUI, it work well with eclipse 3.0. I have just upgrade to 3.1.1. And when I run the code I have this error. Please help me to find out what is the problem.

I have already search google.com and put dll files in windows/system32.... but it doesnt work.





Regards
Tyson
 
Thai Son Cung
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I found out that we just need to add:

-Djava.library.path=C:\SWT to the classpath, where C:\SWT is the directory with all the dll file download from SWT home.

In eclipse Run windows:

 
Rajagopal Manohar
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or you can add the C:\SWT to your system variable "PATH".

That way it will work across IDE's and reduce your java cmd length


-Rajagopal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!