LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora 20 with Oracle Java 7re45 (http://www.linuxquestions.org/questions/fedora-35/fedora-20-with-oracle-java-7re45-4175488774/)

Dummy-in-Linux 12-21-2013 07:55 AM

Fedora 20 with Oracle Java 7re45
 
I have done a clean install with Fedora 20 x86_64 and now I'm trying to get Oracle Java JRE 7rel45 (64-bits) to run... actual I have it running but it seems I cannot run any applications that depend on Java.

If I do on the command line "java -version" I get confirmation that it's installed...

John VV 12-21-2013 01:37 PM

so you want to replace the already installed by default OpenJDK 1.7
with Oracles java 1.7

please see MjmWired's guide
it is the very first guide listed on the fedoraforums guide section

--- for fedora 19
http://www.mjmwired.net/resources/mjm-fedora-f19.html

http://www.mjmwired.net/resources/mj...-f19.html#java

you WILL have to reset "alternatives"

Dummy-in-Linux 12-21-2013 11:42 PM

While I followed a more general Linux install and used the jre-7u45-linux-x64.tar.gz file I'm very confident that the installation of Java is correct, do the same way of installing Java for longer than I can remember.

I expect it has more to do with selinux, but I not get any notifications that something was blocked.

John VV 12-22-2013 12:59 AM

and you did configure the switch from OpenJDK to Oracle JAVA for "libjavaplugin"
otherwise no plugin for firefox

Dummy-in-Linux 12-22-2013 01:11 AM

No I didn't switch the plugin, first I not have the iced-tea plugin installed second I not use Java in my browsers.

But to test things, I made a quick "ln -s /opt/java/lib/amd64/libnpjp2.so ~/.mozilla/plugins/" and the plugin reports to work with http://www.java.com/en/download/installed.jsp

Also when I run "java -version" in terminal I get:

Code:

java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)



All times are GMT -5. The time now is 04:40 AM.