JDK

1. Java SE 9.0.4 Download
http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. Path 지정하기

To set the PATH variable on Microsoft Windows:

  • Select Control Panel and then System.
  • Click Advanced and then Environment Variables.
  • Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.

3. Java 실행

~>java -version

 

4. Notepad 사용하여 Java 코드 작성하기

~>notepad Hello.java

 

5. 컴파일 javac Hello.java

~>javac Hello.java

 

6. 실행 java Hello

~>java Hello