we are developing a Java WebStart project and I'm playing around
with the
Quaqua L&F. I have two questions:
- what's up with this message:
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.
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).
Werner, what is Quaqua using Cocoa-Java for? Perhaps there is an
alternate way of doing what you need done, or perhaps it could be
done directly via JNI calls to Cocoa. It would be nice to not have a
dependency on Cocoa-Java. Given that Apple has deprecated it, it
could conceivably be removed in a future Java release from Apple.
_______________________________________________
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