Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » where is swt.jar for eclipse 3.1.1?
where is swt.jar for eclipse 3.1.1? [message #466924] Thu, 19 January 2006 14:16 Go to next message
Matt White is currently offline Matt WhiteFriend
Messages: 4
Registered: July 2009
Junior Member
I just realized a few days ago that I'm still using the swt.jar from 3.02,
from \eclipse\plugins\org.eclipse.swt.win32_3.0.2\ws\win32. There isn't a
similarly named folder for 3.1.1, and there's no swt.jar anywhere in the
entire eclipse directory. Also, I don't seem to have the runtime.jar. Have
I somehow messed up my eclipse installation?
Re: where is swt.jar for eclipse 3.1.1? [message #466928 is a reply to message #466924] Thu, 19 January 2006 14:30 Go to previous messageGo to next message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
Matt,

Eclipse in version 3.1 has changed its build process so that entire
plug-ins are bundled into a single jar file. With the case of SWT, you
can either unzip the SWT plug-in's jar and find the swt.jar within it,
or for a more easy solution, download the standalone SWT zip from 3.1's
download page.

I'm not sure about runtime - all of its classes are most likely placed
within the plug-in jar directly so that's likely going to be trickier to
extract a stand alone runtime.jar.

Hope this helps,
- Jeff
Re: where is swt.jar for eclipse 3.1.1? [message #466932 is a reply to message #466924] Thu, 19 January 2006 14:35 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
In 3.1 there is no longer a folder for the swt plugin. Instead there is jar
that contains the swt.jar. Look for
org.eclipse.swt.win32.win32.x86_3.1.1.jar in the plugins folder.

If you are building a standalone SWT application, it would be easier to get
the swt jar and dlls from the SWT Binary and Source download:

http://download.eclipse.org/eclipse/downloads/drops/R-3.1.1- 200509290840/index.php#swt


"Matt White" <none@here.com> wrote in message
news:Xns97505E4795818mattw@206.191.52.34...
>I just realized a few days ago that I'm still using the swt.jar from 3.02,
> from \eclipse\plugins\org.eclipse.swt.win32_3.0.2\ws\win32. There isn't a
> similarly named folder for 3.1.1, and there's no swt.jar anywhere in the
> entire eclipse directory. Also, I don't seem to have the runtime.jar. Have
> I somehow messed up my eclipse installation?
Re: where is swt.jar for eclipse 3.1.1? [message #466957 is a reply to message #466932] Fri, 20 January 2006 00:21 Go to previous messageGo to next message
Matt White is currently offline Matt WhiteFriend
Messages: 4
Registered: July 2009
Junior Member
The win32 version of the jar is different from the mac version. Doesn't
this tie me to windows? Is there an "all platforms" jar?



"Veronika Irvine" <veronika_irvine@oti.com> wrote in
news:dqo83q$dvn$1@utils.eclipse.org:

> In 3.1 there is no longer a folder for the swt plugin. Instead there
> is jar that contains the swt.jar. Look for
> org.eclipse.swt.win32.win32.x86_3.1.1.jar in the plugins folder.
>
> If you are building a standalone SWT application, it would be easier
> to get the swt jar and dlls from the SWT Binary and Source download:
>
> http://download.eclipse.org/eclipse/downloads/drops/R-3.1.1- 20050929084
> 0/index.php#swt
Re: where is swt.jar for eclipse 3.1.1? [message #466971 is a reply to message #466957] Fri, 20 January 2006 14:27 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
The swt implementation code is platform specific - there is no such thing as
an all platforms swt jar. You must obtain teh swt.jar and dll's for the
platform you are running on.

The API is the same across all platforms - just the implementation is
different.

"Matt White" <none@here.com> wrote in message
news:Xns9750C4F43645Cmattw@206.191.52.34...
> The win32 version of the jar is different from the mac version. Doesn't
> this tie me to windows? Is there an "all platforms" jar?
>
>
>
> "Veronika Irvine" <veronika_irvine@oti.com> wrote in
> news:dqo83q$dvn$1@utils.eclipse.org:
>
>> In 3.1 there is no longer a folder for the swt plugin. Instead there
>> is jar that contains the swt.jar. Look for
>> org.eclipse.swt.win32.win32.x86_3.1.1.jar in the plugins folder.
>>
>> If you are building a standalone SWT application, it would be easier
>> to get the swt jar and dlls from the SWT Binary and Source download:
>>
>> http://download.eclipse.org/eclipse/downloads/drops/R-3.1.1- 20050929084
>> 0/index.php#swt
>
Re: where is swt.jar for eclipse 3.1.1? [message #467011 is a reply to message #466971] Sat, 21 January 2006 14:39 Go to previous message
Matt White is currently offline Matt WhiteFriend
Messages: 4
Registered: July 2009
Junior Member
KHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN!!

Doesn't that defeat the whole purpose of java?

Is there a way to modify the classpath at runtime? Then I could write a
"loader" app that would detect the platform, include the proper jar file,
then run the actual application.


"Veronika Irvine" <veronika_irvine@oti.com> wrote in
news:dqqs1h$p37$1@utils.eclipse.org:

> The swt implementation code is platform specific - there is no such
> thing as an all platforms swt jar. You must obtain teh swt.jar and
> dll's for the platform you are running on.
>
> The API is the same across all platforms - just the implementation is
> different.
>
Previous Topic:About Right To Left
Next Topic:Any widget like JTextPane
Goto Forum:
  


Current Time: Sat Nov 18 10:32:29 GMT 2017

Powered by FUDForum. Page generated in 0.02367 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software