Debian: Installation Java 11
It is necessary only for Hitachi VSP with Export Tool 1
Under root:
- add a line into /etc/apt/sources.list
deb http://deb.debian.org/debian unstable main contrib
- Create /etc/apt/preferences.d/stable with this content
Package: *
Pin: release a=stable
Pin-Priority: 900
- Create /etc/apt/preferences.d/unstable with this content
Package: *
Pin: release a=unstable
Pin-Priority: 50
- refresh package lists:
apk update
- install Javu 11
apt install openjdk-11-jre
- Select from the list default Java (11)
update-alternatives --config java
- under user xormon check java version Javy:
xormon@xormon:~$ java --version
openjdk 11.0.22 2024-01-16
OpenJDK Runtime Environment (build 11.0.22+7-post-Debian-2)
OpenJDK 64-Bit Server VM (build 11.0.22+7-post-Debian-2, mixed mode, sharing)