Can Java run on a Mac computer? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 3

Can Java run on a Mac computer?

19th Feb 2017, 6:09 PM
Jose Santiago
Jose Santiago - avatar
4 Respuestas
+ 3
Yes, you can. You can run about any language on Mac. I mean, it's Apple.
19th Feb 2017, 6:11 PM
DerpyOmnister
DerpyOmnister - avatar
+ 2
Java was made to run on all platforms so obviously it can run on Mac.The reason java is platform independent is dat the source code is not directly converted to machine language but to another code called byte code.This byte code is same for all platforms.The only difference is the compiler.
21st Feb 2017, 3:10 PM
Prerit Kumar
Prerit Kumar - avatar
0
yes, you can. it's pre installed on macos. check in terminal, type "which java" and "java -version" (without quote) or you can install using homebrew, brew cask install java
19th Feb 2017, 7:42 PM
Azh Setiawan
Azh Setiawan - avatar
0
Yes. The OS does not matter as Java is platform independent. It can run in any operating system.
20th Feb 2017, 1:58 PM
Aravind Suresh
Aravind Suresh - avatar