I install oracle java JDK.rmp.bin on fedora. And installing by ". /jdk.rmp.bin", JDK is installed under /usr/java/jdk folder.

I could compile java files using command "javac" and "java". I could also check the version by "java -version".

But when I type "update-alternatives --config java" nothing appears. Why no java version shows in the terminal?

enter image description here


Alternatives are updated from %post and %pre scripts in RPM packages. I think BIN packages do not have this functionality.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.