download latest jdk for windows 10 code example Example: install jdk in windows 10 C:\Program Files\Java\jdk-10\bin