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: jnlp.jar ??



Interesting. That makes sense. I grepped through the /Developer and / System and /Library dirs and couldn't find it. Well, I'm writing a getting started article about Java Web Start for java.net and I wanted to tell developers how they should set up their path. Since the Java Web Start app doesn't appear to be in any sort of a Current symlink, I'm not sure the best way to path this out. It sounds like the javaws.jar isn't versioned the way the rest of the JDK is.

While I'm at it, does anyone have any advice / warnings for JWS on OSX? I discovered, for example, that transparent PNGs for the icon will get a white background instead of transparent. .icns files seem to preserver transparency. I also discovered that OSX doesn't support the JWS splash screen for some reason. Also, the JNLP won't run unless you have specified a JRE version (<j2se version="1.4+"/> or some such).

Thanks,
- Josh


On Jul 27, 2005, at 5:29 PM, Greg Guerin wrote:

Joshua Marinacci wrote:


Does anyone know where the javax.jnlp.* package is on OSX? These are the
Java WebStart extensions. In a Sun JDK they would be in a jnlp.jar file,
but I can't find it on OSX. I know they are there because if I run a JWS
app which uses these extensions it works, I just can't find the jar so I
can compile against it.



It isn't an extension. It's embedded inside the JWS app itself.

The path is currently:
/Applications/Utilities/Java/Java Web Start.app/Contents/MacOS/ javaws.jar


Note the embedded spaces in the pathname.

If you're compiling against a JWS jar, it can be anywhere. Personally, I
would compile against the JWS jar with the version I was targeting. The
"javaws.jar" embedded in Java Web Start.app wouldn't necessarily be the
same version, nor would it have to be.


  -- GG


_______________________________________________ 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


_______________________________________________ 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: jnlp.jar ?? (From: Greg Guerin <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.