[Java] Install JDK and configure Environment variable

What is JDK?
JDK is a Java Development Kit for Java Developers. It is provided by Oracle Company. It is open source and able to use for free. If you want to use Java Language, JDK should be installed. 

JDK Download & Installation
Java was designed by Jame Gossling who worked at Sun IT Company. It was able to download JDK in Sun Company's website. But In 2009, Oracle IT Company acquired Sun Company. So It is available to download JDK in Oracle website now.
Please click link below to download JDK.

Step1. You can see the JDK download page. You can choose JDK Version depending on your system. In this tutorial, Default version I chose is JDK 8u241. Click [JDK Download].

Step2. Choose JDK depeding on your system OS. Default is Window x64. Click [jdk-8u241-windows-x64.exe].

Step3. Click [I accept the Oracle Technology...] > Click [Download jdk-8u241-windows-x64.exe].

Step4. If download finish, Run jdk-8u241-windows-x64.exe > Click [Next]

Step5. Click [Next]

Step6. Click [Next]

Step7. Click [Close] to finish installation.

Step8. Configure JDK Path to System Environment.
Right click [This PC] > [Properties] > [Advanced system settings] > [Environment Variables...] > Click [New]

Step9. Add System Environment.
Variable Name: JAVA_HOME
Variable Value: JDK Installation path

Step10. Add System Environment to System path.
Back to the System Variable > Double click [path] >[New] > Add "JAVA_HOME\bin"


Step11. open command prompt and enter "java -version". If you get the screen like upon, the JDK installation is finished successfully.







Comments

Popular posts from this blog

$$ Regular Expression이 안먹는 경우

exception in thread main java.lang.unsupportedclassversionerror unsupported major.minor version 52.0

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver