Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

migrated from stackoverflow.com May 25 '13 at 13:08

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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