Creating a JAR for a stand-alone SWT application

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Creating a JAR for a stand-alone SWT application

Postby shinichi0802 » Sun Mar 05, 2006 7:30 pm

I have a sample SWT application, So I will now create an executable JAR file that can
run from the command-line, outside of the Eclipse workbench. Right-click on the project
name in the Package Explorer and choose the “Exportâ€
shinichi0802
 
Posts: 7
Joined: Sun Mar 05, 2006 6:45 pm

Re: Creating a JAR for a stand-alone SWT application

Postby Eric Clayberg » Sun Mar 05, 2006 8:52 pm

[quote="shinichi0802"]So I want to konw the path"–Djava.library.path=“c:\Program Files\eclipse\plugins\com.swtdesigner_4.2.1\os\win32\x86\â€
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby shinichi0802 » Mon Mar 06, 2006 12:39 am

Ok. I cant not find the Eclipse SWT DLL. where ?
shinichi0802
 
Posts: 7
Joined: Sun Mar 05, 2006 6:45 pm

Postby Eric Clayberg » Mon Mar 06, 2006 4:52 am

shinichi0802 wrote:Ok. I cant not find the Eclipse SWT DLL. where ?

As described in the Designer FAQ, product docs, product help, and SWT FAQ, the Eclipse SWT DLL is located in the Eclipse SWT plugin (directory or JAR depending on the versoin of Eclipse you are using).

In general, for help running SWT applications, you should post questions to the Eclipse SWT newsgroup.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Sorry. But please help me.

Postby shinichi0802 » Thu Mar 09, 2006 12:31 am

Eric Clayberg wrote:
As described in the Designer FAQ, product docs, product help, and SWT FAQ, the Eclipse SWT DLL is located in the Eclipse SWT plugin (directory or JAR depending on the versoin of Eclipse you are using).


I had readed it. But i cant not find it. can you show me step by step (window XP SP2)how to run SWT application with products i have(not use "Run As SWT Application of Eclipse" because it's success.).
shinichi0802
 
Posts: 7
Joined: Sun Mar 05, 2006 6:45 pm

Postby Kelly » Thu Mar 09, 2006 4:36 am

Maybe this post will help you.

http://www.swt-designer.com/forum/viewtopic.php?t=647

The post title is 'Deploy SWT App as .jar on Windows and Linux'

The jar filenames for Eclipse and SWT have changed because of upgrades but it should still be correct.
Kelly
 
Posts: 38
Joined: Wed Feb 02, 2005 8:22 am

Thanks you verymuch

Postby shinichi0802 » Thu Mar 09, 2006 7:04 pm

Thanks Kelly so much.
shinichi0802
 
Posts: 7
Joined: Sun Mar 05, 2006 6:45 pm


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest