My hardware: Dell Latitude 5310, 16gb ram, 256gb SSD, Installation Ubuntu 25.04. Need to install Oracle Java 8 to work with specific software that not work under open java. Downloaded jdk-8u451-linux-x64 and follow the installation instructions, when execute "sudo update-alternatives --config java", the alternatives appear, but when choose the one I want I get the following error message: "update-alternatives: warning: not replacing /usr/bin/java with a link" The proper alternative appears to be selected, but the system does not find it. I look all the possible solutions that I was able to find in the web, but no one worked. Obviously I'm making some mistake, but failed to identify it.
Thanks in advance.
/usr/bin/java --version? The "update-alternatives: warning: not replacing /usr/bin/java with a link" means a java has already been manually installed there, possibly just now.bin/javaexecutable from JDK 8.