1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Windows 11 に Eclipse Temurin OpenJDK をインストールする(GUI / winget)

1
Last updated at Posted at 2026-02-03

Docker を業務で扱うようになり、これまで職場ではOracle JDK を使っていましたが、環境ごとにバージョンがバラついていたため、Eclipse Temurin OpenJDKに統一することにしました。

この記事では、Windows 11環境でのインストール手順をまとめます。

環境

  • OS:Windows 11
  • JDK:Eclipse Temurin OpenJDK 25.0.2+10

Temurin JDKのインストール(GUI)

1.公式HPにアクセス
Windows用のインストーラーをダウンロードします
https://adoptium.net/temurin/releases
image.png

2.インストーラーを起動して次へをクリック
image.png

3.同意して次へをクリック
image.png

4.Install for all users of this machineを選択して次へをクリック
タイトルなし.png

5.そのまま次へをクリック
Set JAVA_HOME variableを有効にするとJAVA_HOMEが設定できます。
image.png

6.インストールをクリック
image.png

少し待ちます
image.png

7.完了
image.png

環境変数にJAVA_HOME追加(手動)

1.Windows検索バーで「システム環境変数の編集」を検索して開きます。

2.「環境変数」をクリックします。
image.png

3.システム環境変数に以下を追加して完了です。

変数名:JAVA_HOME
変数値:C:\Program Files\Eclipse Adoptium\jdk-25.0.2.10-hotspot

image.png

winget でインストールする場合(CLI)

GUI を使わずにインストールしたい場合はこちら。

# JDK 25.0.2.10 を指定してインストール
winget install EclipseAdoptium.Temurin.25.JDK --version 25.0.2.10

# JAVA_HOME を設定(管理者権限で実行)
setx JAVA_HOME "C:\Program Files\Eclipse Adoptium\jdk-25.0.2.10-hotspot" /M

# バージョン確認
java -version

最後に

Eclipse Temurin OpenJDK に統一したことでDockerfileに定義しているイメージと統一ができました。

GUI / wingetどちらからでもインストール可能ですので簡単に導入することができます。

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?