This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Resource /org.eclipse.swt is not open Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Resource /org.eclipse.swt is not open" Watch "Resource /org.eclipse.swt is not open" New topic
Author

Resource /org.eclipse.swt is not open

Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

In setting up a simple AWT app in Eclipse, I am following directions in one of the tutoials that comes with Eclipse to import the swt project (swt-3.1-win32-win32-x86.zip). When I try to do this, I get an error that says :
Problems were encountered during import:
Resource /org.eclipse.swt is not open.
Resource /org.eclipse.swt is not open.
Resource /org.eclipse.swt is not open.
Resource /org.eclipse.swt is not open.
Resource /org.eclipse.swt is not open.
Resource /org.eclipse.swt is not open.
Resource /org.eclipse.swt is not open.
Resource /org.eclipse.swt is not open.
Resource /org.eclipse.swt is not open.

If I try instead to use my build path to get to swt.jar, I get
java.lang.UnsatisfiedLinkError: no swt-win32-3138 in java.library.path
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Resource /org.eclipse.swt is not open
 
Similar Threads
SWT package error
How to add another project as dependency?
SWT COLOR
Eclipse .product file -missing a .jar
I can compile SWT out of eclipse but not in Eclipse :)