I wrote:
>I just realized you might want to use this path:
> /Library/Java/Home/lib/fonts
>
>to avoid tying your code to a specific version of Java (i.e. 1.4.2 in
>your example).
Better still, the "java.home" property always has the correct pathname to
the Home directory, regardless of Java version. And it's properly
version-aware. So just append "lib" and "fonts", and you're there.
This is even simpler than parsing "java.version". Sorry I didn't recognize
it sooner.
-- 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