How do I tell which version of java I have? Answer Type “java -version” into the Command Prompt, then press Enter on your keyboard. After a moment, your screen should display the information your computer has about Java, including what version you have installed.