Hi
I tried as described in link You send me, but I got error :
Preparing to unpack
.../openjdk-8-jre-headless_8u342-b07-0ubuntu1~20.04_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u342-b07-0ubuntu1~20.04) ...
dpkg: error processing archive
/var/cache/apt/archives/openjdk-8-jre-headl
Hi,
On Linux, the command:
sudo update-alternative --list java
List all installed jre/jdk and show the selected version.
sudo upgrade-alternative --config
To select an other version
Arnaud
Le dim. 13 nov. 2022, 15:20, Raivo Rebane a écrit :
> Hi
>
> I tried as described in link You send me, bu
Hi
raivo@Hydra:~/teamengine$ sudo update-alternatives --list java
/usr/lib/jvm/java-11-openjdk-amd64/bin/java
So, it gives only one alternative
But :
raivo@Hydra:~/teamengine$ ll /usr/java
total 16
drwxr-xr-x 4 root root 4096 nov 8 17:25 ./
drwxr-xr-x 15 root root 4096 aug 16 2020 ../
dr
Not a Maven issue, but if you didn't install the JDK then you'll have to
add it with `sudo update-alternatives --install`
If the JAVA_HOME env var is set Maven will use that instead.
Delany
On Mon, 14 Nov 2022 at 09:29, Raivo Rebane wrote:
> Hi
>
> raivo@Hydra:~/teamengine$ sudo update-alternati