Question: how to check if jdk installed on mac?
Answer:  Open a command-line window. -->This is "Terminal" for Mac users and "Command Prompt" for PC users.
 Type "java -h". ... 
 Type "javac".