Re: How to delete and reinstall Java
I've screwed up the Java package on my machine, and now the system can't see/run java. ...Aaaand it appears that I won't have to reinstall it after all, just add back the symbolic link | ln -s /usr/lib64/jvm/java-11-openjdk-11/bin/java /usr/bin/java which possibly update-alternatives erased? Anyway, my Java seems to be working again. Leslie -- openSUSE Leap 15.2 x86_64
On Thu, Mar 11, 2021 at 07:27:38PM -0600, J Leslie Turriff wrote:
I've screwed up the Java package on my machine, and now the system can't see/run java.
...Aaaand it appears that I won't have to reinstall it after all, just add back the symbolic link | ln -s /usr/lib64/jvm/java-11-openjdk-11/bin/java /usr/bin/java which possibly update-alternatives erased? Anyway, my Java seems to be working again.
Sounds like a bug in the java packages. What was the java8 package you've had installed? Another way to fix is to reinstall the java-11 packages. That would reinstate the missing links with the always-troublesome update-alternatives system. - Adam
participants (2)
-
Adam Majer
-
J Leslie Turriff