Question: how to install jdk dmg file on mac?
Answer: Download the JDK . dmg file, jdk-9. ... 
From either the browser Downloads window or from the file browser, double-click the . dmg file to start it. ... 
Double-click the JDK 9. ... 
Click Continue. ... 
Click Install. ... 
Enter the Administrator user name and password and click Install Software.