JDK1.8 8u121

Java SE 8u121 Download & JDK8 Demos and Samples Download

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Windows x86 189.36 MB jdk-8u121-windows-i586.exe
Windows x86 53.81 MB jdk-8u121-windows-i586-demos.zip

Path 지정하기

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)