I have installed the JDK on Mac OS X v10.8 (Mountain Lion). When I upgraded it to Mac OS X v10.9 (Mavericks) and ran java -version
in the terminal, it showed:
No Java runtime present, requesting install.
Then I manually installed the JDK (1.7) on my Mac. It seems that the installation worked fine. When the installation was done, I opened the terminal and typed java -version
as well. It also showed the same error:
No Java runtime present, requesting install.
How can I solve this problem?
Support Ending December 31, 2019 In keeping with Apple's release cycle, macOS 10.09 Mavericks is no longer receiving security updates as of November of 2014. Our latest fully-supported operating system is macOS Mojave (10.14).
Java 7 and later versions can run on your Mac. Oracle Java (Version 7 and later versions) requires an Intel-based Mac running Mac OS X 10.7. 3 (Lion) or later and administrator privileges for installation.
The new Mavericks (10.9) showed me the "Requesting install", but nothing happened.
The solution was to manually download and install the official Java package for OS X, which is in Java for OS X 2013-005.
Update: As mentioned in the comments below, there is a newer version of this same package:
Java for OS X 2014-001
Java for OS X 2014-001 (Correcting dead line above)
Java for OS X 2014-001 includes installation improvements, and supersedes all previous versions of Java for OS X. This package installs the same version of Java 6 included in Java for OS X 2013-005.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With