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: Quaqua questions



--On 5. Dezember 2006 15:36:54 -0700 Doug Zwick <email@hidden> wrote:

Warning class ch.randelshofer.quaqua.QuaquaIconFactory couldn't
access Java
for Cocoa. Please make sure that /System/Library/Java is in the
class path.

With WebStart you cannot change the CLASSPATH via the JNLP file.

So I noticed ...

WebStart
uses a custom ClassLoader for loading classes downloaded to its cache, so
this is normally not an issue. However, the Cocoa-Java classes are not in
WebStart's CLASSPATH. I suppose you could alter the CLASSPATH in
WebStart's Info.plist file, but that would effect *every* app started by
JWS (and is a potential security hole, and also this change would need to
be applied to the JWS on each Mac that the app was to be run on). Another
alternative would be to alter Quaqua to use a custom ClassLoader to
access the Cocoa-Java class files (they are not JAR-ed up, IIRC).

We don't even have an icon for the application (yet?), so right now it's not an issue. Thanks for the explanation anyway!
--
☮ Sebastian Hagedorn
✉ email@hidden
http://www.uni-koeln.de/~a0620/


_______________________________________________
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
References: 
 >Re: Quaqua questions (From: Doug Zwick <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.