Question: how to install java from jdk?
Answer: Step 0: Un-Install Older Version(s) of JDK/JRE. ... 
Step 1: Download JDK. ... 
Step 2: Install JDK. ... 
Step 3: Include JDK's "bin" Directory in the PATH. ... 
Step 4: Verify the JDK Installation. ... 
Step 5: Write a Hello-World Java Program. ... 
Step 6: Compile and Run the Hello-World Java Program.