Install Oracle Java 7u79/80 on Fedora 24/23, CentOS/RHEL 7.2/6.8/5.11 - Comment Page: 8
Please note: This guide still working normally if you want install Sun/Oracle Java 7, but if you want Java 8 version, then check Install Oracle Java JDK/JRE 8 on Fedora, CentOS/RHEL.
This is guide, howto Install Sun/Oracle Java JDK and JRE 7 CPU (7u79) and PSU (7u80) on Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS 7.2/6.8/5.11, Red Hat (RHEL) 7.2/6.8/5.11. Read more, what is difference between CPU and PSU release.
If you're looking instruction for Sun/Oracle Java JDK/JRE version 6 installation on Fedora 20/19/18, CentOS/Red Hat (RHEL) 6.5/5.10, please check this guide.
[inttf_post_ad1]
What's new in Sun/Oracle Java 7
VM
Compressed 64-bit object...
Well, I really don’t remember doing any special setup. But the first install(7u25) was made by easylife(important?), then I tryed update to versions 40 and 45 with no success. the firefox version is 26.0. I do not know how uninstall 7u25 version. yum wants to remove everything.
Got a lot og problems until I found this.
setsebool -P unconfined_mozilla_plugin_transition 0
Guess it is just a matter of time before I totally kill SELinux again.
First, I’m sorry about duplicated post. :(
JR, thank you for your time, I really appreciated your help. I gave up trying to fix that problem and I will change to f20.
One more time, thank you.
Hi,
I was using this because I am trying to use the juniper vpn service. I am using fedora 19 with a 64bit firefox. Juniper VPN requires a 32bit jre.
Is it possible to have 32bit jre and firefox plugin with a 64bit firefox?
Thanks very much! This really saved me a lot of time!
I was not really paying much attention at first and then really just snapped in and followed this post. I’m happy, nice that I don’t have to use that junk icedtea no more. Thanks a lot :)
Thank you very much, you are great. Made my task a lot more easier to complete.
I think I like the “slave” approach more, see http://www.rackspace.com/knowledge_center/article/how-to-install-the-oracle-jdk-on-fedora-15-16
Thank you for help — extremely helpful, detailed, and clear! Helped me on Scientific Linux 6.
[…] you’re looking installation instruction for older Oracle Java versions, then check Install Sun/Oracle Java JDK/JRE 7 on Fedora 20/19/18, CentOS/Red Hat (RHEL) 6.5/5.10 or Install Sun/Oracle Java JDK/JRE 6 on Fedora 20/19/18, CentOS/Red Hat (RHEL) […]
Just wanted to let everyone know, it also works with the newer Java 8. The steps are pretty much the same, only the names of the rpm packages have a different version number.
i have centOS 6.5 64bit & java 1.5 default. when i installed jdk/jre 8 rpm, it gaves me like this :
rpm -Uvh jdk-8u5-linux-x64.rpm
error: open of failed: No such file or directory
error: open of failed: No such file or directory
error: open of Unauthorized failed: No such file or directory
error: open of Request failed: No such file or directory
error: open of <META failed: No such file or directory
*root already
please kindly help
Hi faharuru,
Try to add full path to this command, like:
I have already commented a huge post to this topic, but was deleted by admins.
There is one general rule for centos/rhel/fedora. do NOT use Oracle rpms. If you really need elaborate with “upstream” blobs. Use *tarballs*. Theirs RPMS can actually harm your system.
Once you have unpacked jdk fom tarball, then it is simple task to set up an alternatives. Currently Fedora have packed openjdk7 and 8. RRHEL have the same, + Openjdk6, oracle 6, 7 and all IBM’s javas.
If there is any serious reson why those RPMS are not enough, please let me know. I can fix them.
Hi judovana,
Your earlier comment is not deleted, but it was marked as spam (automatically) due to the multiple links.
Have to say, that I haven’t see theirs RPMs causing any harm to systems, but you might be right. This is not guide, which Java to choose and why, this is guide howto install Oracle Java.
I totally agree that, the OpenJDK is good choice and good alternative, but I have see many cases where only Oracle Java is working / working properly, especially on corporate environments.
And yes you will need Oracle Java if you are developer and you have to make sure that your own app work with Oracle Java.
The idea of this site is to share information and not directly blame or hate some app or organization.
Interesting clarification, indeed. I’m really lost at this point, I’m trying to learn Clojure and every post I’ve read indicates to get Java, JDK, but lack to explain which JDK. From quite long now I’m quite used to use Openjava (especially for R scripts), now I wonder which JDK I should choose with this purpose, I’d appreciate any clue on this.
Txe.
Hi txe,
Looks like, that Oracle Java 7 and Oracle Java 8 works with Clojure.
You can install JDK, but just JRE should work with Clojure.
ty for the reply jr
Still the same….
FYI…. its on vps (if it helps), it’s already +x mode
i’v tried on usuall pc it works.
sudo rpm -Uvh /home/fahamin/jdk-8u5-linux-x64.rpm
[sudo] password for fahamin:
error: open of failed: No such file or directory
error: open of failed: No such file or directory
error: open of Unauthorized failed: No such file or directory
error: open of Request failed: No such file or directory
error: open of <META failed: No such file or directory
ty
my bad…
i’v copy the url download link straight, but it’s only download the html.
but now its OK. download on local pc 1st & copy the url link download to my vps.
ty for your time jr
You are welcome and excellent to hear that you got it working.