How do you check if Java SDK is installed on a Mac?
Is there a command line for this?
run command to see:
javac -version
Also you can verify manually by going to the specific location and then check. To do this run below command in the mac terminal
cd /Library/Java/JavaVirtualMachines/
Then run ls
command in the terminal again. Now you can see the jdk version & package if exists in your computer.