Open the Command Prompt (Windows) or Terminal (Mac), and type "java -version." If you see the version number, then you have JDK installed on your computer.