java 4 update error

Hi there,

I was installing my java update 4 for mac os X 10.6 and I had the following message: "The update "java 4 update for Mac OS X 10.6” can't be installed" An unexpected error has occurred."

Tried to install the standalone either, without better results.

Anyone can help me?

Thanks in advance,

Fabiano Pessôa

MacBook Pro, Mac OS X (10.6.6)

Posted on Mar 9, 2011 5:06 PM

Reply
17 replies

Mar 10, 2011 1:24 AM in response to IlBidone

I have this error too
And found in logs:

+[dst=circleLink] failed createDirectory /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes: Error Domain=NSCocoaErrorDomain Code=512 UserInfo=0x101807d20 "The file “CurrentJDK” couldn’t be saved in the folder “Versions”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=62 "The operation couldn’t be completed. Too many levels of symbolic links")+

+[source=link, dest=dir] failed _CheckForAndFixCircularLink(/System/Library/Frameworks/JavaVM.framework/Classes , (null)): No such file or directory+

Mar 10, 2011 12:50 PM in response to IlBidone

For view logs use bundled app "Console"

Full log (from now):
+10.03.11 22:41:27 installd[6288] PackageKit: ----- Begin install -----+
+10.03.11 22:41:32 /System/Library/PrivateFrameworks/PackageKit.framework/Resources/shove[6297] [dst=circleLink] failed createDirectory /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes: Error Domain=NSCocoaErrorDomain Code=512 UserInfo=0x100503020 "The file “CurrentJDK” couldn’t be saved in the folder “Versions”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=62 "The operation couldn’t be completed. Too many levels of symbolic links")+
+10.03.11 22:41:32 /System/Library/PrivateFrameworks/PackageKit.framework/Resources/shove[6297] [source=link, dest=dir] failed _CheckForAndFixCircularLink(/System/Library/Frameworks/JavaVM.framework/Classes , (null)): No such file or directory+
+10.03.11 22:41:32 com.apple.installd[6288] No such file or directory+
+10.03.11 22:41:32 installd[6288] PackageKit: Install Failed: (null)+
+Error Domain=PKInstallErrorDomain Code=120 UserInfo=0x102c645a0 "An unexpected error occurred while moving files to the final destination." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn’t be completed. No such file or directory") {+
+NSLocalizedDescription = "An unexpected error occurred while moving files to the final destination.";+
+NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";+
+arguments = (+
"-f",
"-s",
"/var/folders/zz/zzzivhrRnAmviuee++++++++++/Cleanup At Startup/PKInstallSandbox-tmp/Root",+
"/"
);
}
+10.03.11 22:41:33 Installer[6271] Install failed+

Mar 15, 2011 6:09 AM in response to cka3o4h1k

I tried to install combo 10.6.6 and still not working :-/

the error seems to be the same:

15/03/11 09:29:02 installd[373] PackageKit: Install Failed: (null)
Error Domain=PKInstallErrorDomain Code=120 UserInfo=0x100467b50 "An unexpected error occurred while moving files to the final destination." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn’t be completed. No such file or directory") {
NSLocalizedDescription = "An unexpected error occurred while moving files to the final destination.";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
arguments = (
"-f",
"-s",
"/var/folders/zz/zzzivhrRnAmviuee +++++++++/Cleanup At Startup/PKInstallSandbox-tmp/Root",
"/"
);
}

I think this is all about permissions, but cant find anything about it...

Mar 17, 2011 7:25 AM in response to revDAVE

in Console.app
3/17/11 9:16:34 AM /System/Library/PrivateFrameworks/PackageKit.framework/Resources/shove[427] [dst=circleLink] failed createDirectory /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes: Error Domain=NSCocoaErrorDomain Code=512 UserInfo=0x10010ced0 "The file “CurrentJDK” couldn’t be saved in the folder “Versions”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=62 "The operation couldn’t be completed. Too many levels of symbolic links")
3/17/11 9:16:34 AM /System/Library/PrivateFrameworks/PackageKit.framework/Resources/shove[427] [source=link, dest=dir] failed _CheckForAndFixCircularLink(/System/Library/Frameworks/JavaVM.framework/Classes , (null)): No such file or directory
============
to fix this...
sudo unlink /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo ln -s Current CurrentJDK

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

java 4 update error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.