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: Java 1.5 plist



Greg et. al.,

Thanks for all your help. I think my best solution will be to reinstall 10.4 from disk and just start over. Reinstalling java 5 after removing the receipt did not help.

'which java' returns '/usr/bin/java' because I changed the symlink 'CurrentJDK' to point to 1.5.0

And yes, the app did initially run after installing java 5 so I must have mucked something up after that point.
Thanks again,


Anthony Magee
macawm_at_gmail.com
-----
Any fool can make a rule, and any fool will mind it.
    Henry David Thoreau


On Aug 15, 2005, at 12:49 PM, Greg Guerin wrote:

It depends on exactly what you did to make the 'java' command run the 1.5
JVM. For example, a shell command-alias would not change the
JavaVM.framework's configuration, nor would a symlink named 'java' in a
per-user ~/bin directory.


What does 'which java' say?

If it says /usr/bin/java, then you altered your configuration. Whether you
consider the alterations little or large, you nonetheless have an altered
configuration. Have you considered the possibility that your alterations
broke something?




I tried removing bad fonts (someone suggested this when they got
a NullPointerException with the app). I used Font Book to verify that all
of the installed fonts weren't corrupted. I also tried running it under a
different user.



Before or after your alterations to redirect the 'java' command?

Has Java Preferences ever worked on your machine? Did you try it before
you made your alterations?



As I recall the "fatal font" problems, one of the difficulties in avoiding
it is that Font Book WON'T tell you that an offending font is corrupt.
That is, it thinks it's good, but it's really the cause of the failure.


The other thing I recall is that perfectly good fonts installed in the
~/Library/Fonts folder could trigger the failure. Font Book won't complain
about that, either.


Finally, was the different user a newly created account with all default
preferences-files and a standard configuration for a new user, or was it an
account that had been used before?



If you had a normal configuration right after installing J2SE 5.0, and Java
Preferences failed to run, then that's worth reporting as a bug. If you
applied alterations first, then you're on your own, and your best approach
may well be to remove the 1.5 receipt and start over. As standard voodoo,
though, run Repair Permissions first.


  -- 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
References: 
 >Re: Java 1.5 plist (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.