Open a (type cmd in the Start menu) and run:
java -version javac -version
Getting JDK 11 (a Long-Term Support version) for Windows involves choosing between Oracle's official build and various open-source distributions.
To use javac and java from any command prompt:
If you specifically need the Oracle version, follow these steps: