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: Changing permissions on system files



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



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.