I currently have a problem with java and creating a link to it in my server. The command alternatives is not doing what I want it to do.
At the moment I have this:
but my java should link to /usr/lib/jvm/java-1.8.0/bin/java and everytime I try to mess with it I get this error: /usr/lib/jvm/java-1.8.0/bin/java exists and it is not a symlink.
My installation worked fine on my centos before migrating it onto my rocky. Not sure about what to do about it, any help is appreciated!