JDK1.8

Java SE 8u102 Download & JDK8 Demos and Samples Download

http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html

Path 지정하기

java_path

Java version 확인하기

java_version

1.Notepad 사용하여 Java 코드 작성하기 (Notepad.exe Hello.java)

public class Hello {

public static void main(String[] args) {

System.out.println(“hello”);

}

}

2.컴파일 (javac Hello.java)

3.실행 (java Hello)

java_run