[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Running SWT Outside Eclipse Instructions

"Robert B" <oh1226@xxxxxxxxxxx> wrote in message
news:frrt59$65d$1@xxxxxxxxxxxxxxxxxxxx
>
> "John Huss" <jhuss@xxxxxxxxxx> wrote in message
> news:frrnmh$jqa$1@xxxxxxxxxxxxxxxxxxxx
> > I think you're quite wrong.  Have you ever installed Eclipse before?
> > Where does it put the swt jars?  Answer: not into the JRE installation
> > area; it keeps them under the Eclipse installation folder.
>
> We don't install AWT or Swing packages in application area!

Because they are released by SUN as part of the base Java distribution.  You
can't have a Java instalation that excludes them.

> They all OS and version dependent! You cannot prepare installer
> for every OS versions.  It's users responsibility to maintain
> their JRE basis up to date. SWT should be part of JRE
> distribution. Only the politics of Java keeps it away.
>
If you insist on having your application corrupt the JRE by placing SWT in
it, please post the name of your product so the rest of us can avoid it.  I
would be extremely upset if I found that a third party software package
added something to the JRE.  SWT does not belong in the JRE.  If I'm running
an SWT application that depends on a different version of SWT than your
product, instalation of your product will break my other application.
Including SWT in the application allows for different applications to use
different SWT versions.

There are additional problems with this approach.  Many people have multple
JREs installed on their system.  How do you pick which JRE to add SWT into.
If I upgrade to a newer JRE version, your product will not work unless I
manually copy the SWT jar from the old JRE to the new one.

You need to seriously rethink your distribution strategy.

> > If you install into the JRE area you will eventually have the same "dll
> > hell" that accompanies dll files on Windows installed into the system32
> > directory.  You should put swt in your application area and make sure
it's
> > on your classpath and your life will be much better.
>
> I already experienced .jar and dll hells! So .exe files are better
> way distributing for Windows users. You should try the
> JSmooth exe wrapper. How wonderful you programs become.
> It give the icon of your application, not the koffee cup!
>
> R.
>
>