How To Check If I Have Java Installed On Mac
I take gone into Terminal and typed
java -v
for which it responds with
No Java runtime present, requesting install.
But I am not sure if that is confirming if Java is not installed or whether the Java SDK is not installed.
grg♦
182k 42 gilt badges 313 silver badges 431 bronze badges
asked Sep 15, 2022 at xv:50
samsam
4,181 twenty gold badges 65 silver badges 108 bronze badges
2
3 Answers iii
If it'south responding with No Java runtime present, requesting install.
... well, it's not installed. I believe that Apple's default installer still installs Java vi; I'd recommend getting the latest version (right now Java 8u144) from here.
With Java eight, java -5
fails with Unrecognized option: -v.
Use java -version
instead.
answered Sep 15, 2022 at 17:35
JMY1000JMY1000
4,894 ii gilded badges 17 silver badges 31 statuary badges
2
-
@Mark Don't call up then, should be the JRE. Not 100% tho.
Sep 15, 2022 at xviii:59
Many versions of Java for macOS install an entry into the Arrangement Preferences. If y'all accept a Java icon in System Preferences, information technology's highly likely that Java is installed on the Mac:
answered Sep 15, 2022 at 17:56
jefe2000jefe2000
1,246 xi silver badges nineteen statuary badges
3
-
That is only for the JRE used in a browser
Sep 15, 2022 at 18:09
-
@Mark, I have the total Coffee 8 JRE installed on my Mac (not simply browser support). The Java system preference pane shows upward as office of the install. So, the system preference pane is included with Coffee installations that cover more than than just the browser.
Sep 15, 2022 at 22:07
-
I think that panel only covers the browser install - look at the settings in information technology. Besides the Coffee JRE for OSX does non support the command line. I retrieve y'all take to install the full JDK (although there might be a version in between)
Sep sixteen, 2022 at 9:49
Check the following path: /Library/Java/JavaVirtualMachines You can as well utilise the find control to scan you system. In you terminal execute sudo find / -name "java" 2>/dev/null You volition then find where in your figurer in that location is a java file.
answered Sep 15, 2022 at 19:45
You must log in to respond this question.
Not the answer you're looking for? Browse other questions tagged macos java .
Source: https://apple.stackexchange.com/questions/298602/how-can-i-check-if-java-is-installed-on-my-mac
Posted by: ortizbletismue.blogspot.com
Did you install Coffee from here?
Sep 15, 2022 at fifteen:54
Are you trying to bank check if the JDK or JRE is installed?
Sep 15, 2022 at 15:56