0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

自分用Java初期設定

Last updated at Posted at 2018-11-25

インストール

JRE

Windows版64ビット
https://www.java.com/ja/download/windows-64bit.jsp

JDK

JREとバージョンを合わせる
https://www.oracle.com/technetwork/java/javase/downloads/index.html

環境変数の設定

コントロールパネル→システム→システムの詳細設定→環境変数
JAVA_HOMEC:\Program Files\Java\jdk1.8.0_192などとして追加。
Path%JAVA_HOME%\binを追加。

動作確認

テキストエディタで

Hello.java
public class Hello {
	public static void main(String[] args){
		System.out.println("Hello, world.");
	}
}

Hello.javaとして保存し、コマンドプロンプトで
javac Hello.java
java Hello
としてHello, world.が表示されればOK。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?