I upgraded to Mountain Lion and get Java 6 not found when trying to launch Eclipse or Open Office. I then tried the command lion and get:
Jeanne-Boyarskys-MacBook-Pro:Applications nyjeanne$ java -version Unable to locate a Java Runtime to invoke.Jeanne-Boyarskys-MacBook-Pro:Applications nyjeanne$ java -version Unable to locate a Java Runtime to invoke.
Really? I spent a good while getting Java 7 installed on Lion. And now I get to do it again? Luckily it wasn’t that problem.
I learned
Java 7 was still there under Library/Java/JavaVirtualMachines/. It just wasn’t in my path anymore so the Mac didn’t recognize it. After letting Apple install Java 6, everything was fine. My Eclipse JRE pointed to Java 7 and Open Office launched with Java 6.
Conclusion
While this turned out to be a non-issue, I’m still blogging about it because this wasn’t what I expected to happen.
“I then tried the command lion” 🙂
Ernest: I’d fix it, but the typo is funnier 🙂