[url]http://mindsiview.wordpress.com/2009/07/15/having-trouble-with-java-on-your-mac/[/url]
I don’t know about you, but I’m constantly playing with (read messing up) my Mac loading new software, trying different things, etc. I spend a lot of time poking around in the BSD shell. After some recent mods, I began experiencing problems with Java…specifically related to Eclipse. I couldn’t get it to run. Instead, it returned “Cannot find executable for CFBundle … (not loaded)”.
After some fruitless searching and reinstalling Java, I found the problem. Somewhere along the way the symbolic folder “Current” (found under /System/Library/Frameworks/JavaVM.framework/Versions) was corrupted. Current should be pointing to the “A” folder (located in the same folder as Current). I used the following command to correct the problem:
[color=orange][b]sudo ln -fhsv A Current[/b][/color]
If you find yourself in a similar situation, and according to my own internet searches many of you have, check the symbolic folders “Current” and CurrentJDK. Chances are your problem is there.
I don’t know about you, but I’m constantly playing with (read messing up) my Mac loading new software, trying different things, etc. I spend a lot of time poking around in the BSD shell. After some recent mods, I began experiencing problems with Java…specifically related to Eclipse. I couldn’t get it to run. Instead, it returned “Cannot find executable for CFBundle … (not loaded)”.
After some fruitless searching and reinstalling Java, I found the problem. Somewhere along the way the symbolic folder “Current” (found under /System/Library/Frameworks/JavaVM.framework/Versions) was corrupted. Current should be pointing to the “A” folder (located in the same folder as Current). I used the following command to correct the problem:
[color=orange][b]sudo ln -fhsv A Current[/b][/color]
If you find yourself in a similar situation, and according to my own internet searches many of you have, check the symbolic folders “Current” and CurrentJDK. Chances are your problem is there.