Ask Your Question
0

Installing jdk 7 on Fedora 24

asked 2016-10-30 15:54:48 -0600

elwis gravatar image

Hi all, I need the old jdk for some Grails project so I downloaded and installed the one from Oracles website. However, it doesn't show up anywhere, not in alternatives and not in /usr/lib/jvm? I can't install it again since it prompts me that i'ts already installed.. but I wonder.. where might that one hide..? Regards

edit retag flag offensive close merge delete

Comments

I suggest you have downloaded and installed the rpm file from Oracle. Then you can list the location of the new installed java with "rpm -ql <name_of_the_rpm_file>". Name of the rpm file is without extention ".rpm".
Is this link "https://ask.fedoraproject.org/en/question/49060/how-to-make-oracle-jdk-and-jre-as-default-java-in-fedora-20/#" helpfull?

kdg1955 gravatar imagekdg1955 ( 2016-10-30 16:19:45 -0600 )edit

A week later.. noticed however that "rpm -ql" gives me nothing except "package not installed". However, I can't install it since it's installed, better grab myself another computer. Oh wait, the name of the rpm didn't work, but the name for "Package XX is already installed" did the trick!

elwis gravatar imageelwis ( 2016-11-02 09:04:46 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-11-03 03:20:54 -0600

elwis gravatar image

AS kdg1955 commented, the rpm -ql command was the one I was looking for and it solved the mysery of the difappearing JDK

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-10-30 15:54:48 -0600

Seen: 416 times

Last updated: Nov 03 '16