Trouble getting java 8 to work
Posted: Mon Jan 11, 2021 10:07 am
I am running LMDE 4 64 Bit Debian Version: 10.2
When i try to install openjdk 8 it gives me this. (I have uninstalled openjdk-11-jre correctly and also did autoremove)
When i try installing nvidia-openjdk-8-jre it says its installed but when i run java -version it greets me with an unknown command reply
When i try to install openjdk 8 it gives me this. (I have uninstalled openjdk-11-jre correctly and also did autoremove)
Code: Select all
john@pc:~$ sudo apt-get install openjdk-8-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openjdk-8-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
nvidia-openjdk-8-jre
E: Package 'openjdk-8-jre' has no installation candidate
Code: Select all
john@pc:~$ sudo apt-get install nvidia-openjdk-8-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-openjdk-8-jre is already the newest version (9.+8u77~9.2.148-7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
john@pc:~$ java -version
bash: /usr/bin/java: No such file or directory