Table of contents目次

  1. Execution check environment動作確認環境
  2. Prepare OpenJDKOpenJDK を用意する
    1. On Windows 10 ProWindows 10 Pro の場合
    2. How to check version number of installed Javaインストールされている Java のバージョンの確認方法
    3. Bug informationバグ情報

1. Execution check environment 動作確認環境

Execution check environment is an desktop PC that consists of AMD Ryzen 9 3900X 12-Core Processor 3.79 GHz, AMD Radeon VII, RAM 32.0 GB and Windows 10 Pro. 動作確認環境は AMD Ryzen 9 3900X 12-Core Processor 3.79 GHz、AMD Radeon VII、RAM 32.0 GB、Windows 10 Pro のデスクトップ PC です。

2. Prepare OpenJDK OpenJDK を用意する

XEiJ runs under OpenJDK and uses Swing as its GUI. At the time of writing, the latest OpenJDK is 21.0.2, but please use the most recent OpenJDK possible. XEiJ は OpenJDK で動作します。GUI は Swing を使用します。これを書いている時点で最新の OpenJDK は 21.0.2 ですが、可能な限り最新の OpenJDK を使用してください。

2.1. On Windows 10 Pro Windows 10 Pro の場合

  1. Open JDK 21.0.2 GA Release. JDK 21.0.2 GA Release を開きます。
  2. Download openjdk-21.0.2_windows-x64_bin.zip . openjdk-21.0.2_windows-x64_bin.zip をダウンロードします。
  3. Right click the icon of openjdk-21.0.2_windows-x64_bin.zip and select "Extract All...". openjdk-21.0.2_windows-x64_bin.zip のアイコンを右クリックして「すべて展開 ...」を選択します。

A dialog, Extract Compressed (Zipped) Folders, appears. 「圧縮 (ZIP 形式) フォルダーの展開」というダイアログが表示されます。

  1. Input C:\ into the field, Files will be extracted to this folder. 枠「ファイルを下のフォルダーに展開する」に C:\ を入力します。
  2. Click the Extract button. 「展開」ボタンをクリックします。

OpenJDK is extracted in C:\jdk-21.0.2. OpenJDK が C:\jdk-21.0.2 に展開されます。

  1. Press Windows+Pause to open "System info". Windows+Pause を押して「システム情報」を開きます。
  2. Click "Advanced system settings". 「システムの詳細設定」をクリックします。
  3. Click "Environment Variables". 「環境変数」をクリックします。
  4. Select Path in "System variables" and click "Edit". 「システム環境変数」の Path を選択して「編集 ...」をクリックします。
  5. Click "New" and input C:\jdk-21.0.2\bin. 「新規」をクリックして C:\jdk-21.0.2\bin を入力します。
  6. Click "OK". 「OK」をクリックします。
  7. Click "OK". 「OK」をクリックします。
  8. Close open windows. 開いているウインドウを閉じます。

2.2. How to check version number of installed Java インストールされている Java のバージョンの確認方法

Type the following command. 以下のコマンドを入力します。

>java -version
openjdk version "21.0.2" 2024-01-16
OpenJDK Runtime Environment (build 21.0.2+13-58)
OpenJDK 64-Bit Server VM (build 21.0.2+13-58, mixed mode, sharing)

2.3. Bug informationバグ情報

We have received a report that JDK crashes when running XEiJ with the environment variable JAVA_TOOL_OPTIONS set to -Dfile.encoding=UTF-8 . This JDK bug seems to have been fixed in JDK 16. 環境変数 JAVA_TOOL_OPTIONS に -Dfile.encoding=UTF-8 が書かれている状態で XEiJ を起動すると JDK がクラッシュするとの報告をいただきました。 この JDK のバグは JDK 16 で修正されたようです。