How do you check if Java SDK is installed on a Mac?
Is there a command line for this?
Just type javac. If it is installed you get usage information, otherwise it would just ask if you would like to install Java.
javac