AlmaLinux javaの学習用開発環境「BlueJ」をインストールする

AlmaLinux javaの学習用開発環境「BlueJ」をインストールする

AlmaLinuxにjavaの教育用開発環境「BlueJ」をインストールする手順を記述してます。

環境

  • OS AlmaLinux 8.3

flatpakダウンロード

パッケージ管理「flatpak」をインストールします。
※自分の環境では、既にインストールされてました。

sudo dnf -y install flatpak

Flathubのレポジトリの追加を行います。

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

BlueJインストール

flatpakを使用して、BlueJをインストールします。

sudo flatpak -y install https://flathub.org/repo/appstream/org.bluej.BlueJ.flatpakref

<出力結果>
org.bluej.BlueJ permissions:
    ipc      network     pulseaudio     wayland     x11     dri     file access [1]     dbus access [2]

    [1] host, xdg-run/dconf, ~/.config/dconf:ro
    [2] ca.desrt.dconf


        ID                      Branch         Op         Remote          Download
 1. [✓] org.bluej.BlueJ         stable         i          flathub         116.6 MB / 118.0 MB

Installing… ████████████████████ 100%  3.6 MB/s  00:00
Note that '/var/lib/flatpak/exports/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /root/.local/share
        ID                      Branch         Op         Remote          Download
 1. [✓] org.bluej.BlueJ         stable         i          flathub         116.6 MB / 118.0 MB

Installation complete.

BlueJ起動

BlueJがインストールされていることが確認できます。

アイコンをクリックすると「BlueJ」が起動します。

プロジェクトから新規プロジェクトを作成することが可能です。

クラスを作成すると、以下のようにコメントで説明してくれます。