Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jar Bundler and bootclasspath



Moises Lejter wrote:

Greg Guerin wrote:

Andrew Hart wrote:

I'm trying to bundle up an application that  requires some specific
classes be in the boot class path.  ...snip...
I have the jar files in the Contents/Resources/Java directory:
vbjorb.jar, vbjapp.jar, and swingall.jar.

Why do you need swingall.jar?  Mac OS X already has Swing.

If it is an old enough app, it could still be using the JDK1.1 swing
implementation...
(though I don't imagine it would make a difference, if this JAR were to
be placed in the regular classpath,
as there are no name conflicts between Swing 1.1 and later..)

I have only ever seen swingall.jar distributed for use with JRE 1.1*. That would make it a version 1.1 Swing implementation. My concern with it being in the BOOTCLASSPATH at all is that it could wind up being used in place of the version of Swing in the JRE. That could be a disaster.

Since the app bundle is Mac OS X only, it should be safe
to remove swingall.jar. The JRE version of Swing will be
on the BOOTCLASSPATH by default.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.