Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] A question about stand-alone SWT applications

Hi:

I am new to SWT and I am interested in using SWT/JFace
as an alternative to Swing. I am not interested in 
the Eclipse IDE at all so before I can develop/run
stand alone programs, I need to put the approrpiate
.dll's and .jars where the JDK (Java 1.4.1 on Win2k)
can find them.

I have come across 2 articles that point to two
differnt ways to do this.

1)
Put the windows .dll in jre\bin
Put swt.jar and jface.jar on your classpath

I would prefer this if guaranteed to work.

However, the article at
http://www-106.ibm.com/developerworks/library/os-ecgui1/?ca=dnt-43
says the following:

----
You need these jar files on your class path: 
C:\eclipse-2.1.0\plugins\org.eclipse.jface_2.1.0\jface.jar

C:\eclipse-2.1.0\plugins\org.eclipse.runtime_2.1.0\runtime.jar

C:\eclipse-2.1.0\plugins\org.eclipse.swt.win32_2.1.0\ws\win32\swt.jar

C:\eclipse-2.1.0\plugins\org.eclipse.ui.workbench_2.1.0\workbench.jar

C:\eclipse-2.1.0\plugins\org.eclipse.core.runtime_2.1.0\runtime.jar

------

My question is this:

Do I need the runtime, workbench and core.runtime
jar's on my classpath or will swt/jface suffice ?

Best regards,

--j

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


Back to the top