Joshua Marinacci wrote:
>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.
Agreed.
I would tell Mac OS X users to download the JNLP jar from Sun, for whatever
version of the spec they wanted to target. Then add that jar to the Xcode
project, or whatever your IDE of choice is. That is, COMPILE against
whatever JNLP version is being target, but RUN with the one that's built
into "Java Web Start.app".
What you tell developers on other platforms depends on how JWS/JNLP is
managed on that platform. Personally, I think something close to the same
suggestion applies: COMPILE against the JNLP jar appropriate for your
target version, but RUN with the one that's appropriate for the actual
target machine.
>While I'm at it, does anyone have any advice / warnings for JWS on
>OSX?
Search the list archives for JWS and/or JNLP. There's a bunch of history,
and the advice or warnings (or outright bugs) depend on which version of
Mac OS X and Java is running the program.
> I discovered, for example, that transparent PNGs for the icon
>will get a white background instead of transparent. .icns files seem
>to preserver transparency.
Yeah, I vaguely recall that one mentioned on the list, though not recently.
> I also discovered that OSX doesn't support
>the JWS splash screen for some reason.
I don't recall that one specifically, but it could just be the cumulative
effects of scotch on brain cells. Hence the value of searchable archives
over personal memories. :-)
>Also, the JNLP won't run
>unless you have specified a JRE version (<j2se version="1.4+"/> or
>some such).
I don't remember that one, either, but... Hey, where'd I leave my scotch?
-- 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