Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Reinstall Java on Leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Reinstall Java on Leopard
Authored by: cm0901 on May 23, '09 01:52:12AM

I was having some problem with Zend Studio, a PHP IDE that runs under Eclipse, another IDE that runs in Java. I decided to follow this hint to "fix" my Java, and hopefully fix that Zend problem. But now my Java is completely broken: I can't run ANY Java-based app, not even Cyberduck which, it seems, has some parts written in Java. Can anyone help me?



[ Reply to This | # ]
10.5: Reinstall Java on Leopard
Authored by: palahala on May 23, '09 02:40:18AM

These comments are not really suitable as a support forum, I think, and you're not really giving any details about what you did either.

What went well and what went wrong? Did all steps complete successfully? By typing "history" in Terminal, can you verify you indeed executed all steps described in this hint, in the correct order? You may want to keep that history for future reference by typing "history > ~/Desktop/java-problems.txt" Does "which java" in Terminal give you any results? Does "java -version" show anything? Does the folder /Library/Java have any content?



[ Reply to This | # ]
10.5: Reinstall Java on Leopard
Authored by: cm0901 on May 23, '09 04:11:26AM

Everything was fine during the process, i had no error whatsoever. java -version says

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)

so, it seems that everything is fine. But running, let's say, Cyberduck, I get:

23/05/09 13:06:37 /Applications/Cyberduck.app/Contents/MacOS/Cyberduck[758] Java requesting shared archive generation, version 1.5
23/05/09 13:06:38 /Applications/Cyberduck.app/Contents/MacOS/Cyberduck[758] Java is sending command '1.5' to updateSharingD
23/05/09 13:06:42 [0x0-0x36036].ch.sudo.cyberduck[758] -[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava. Exit
23/05/09 13:06:42 com.apple.launchd[421] ([0x0-0x36036].ch.sudo.cyberduck[758]) Exited with exit code: 255



[ Reply to This | # ]