LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 12-21-2013, 07:55 AM   #1
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 19 86_64
Posts: 355

Rep: Reputation: 31
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...
 
Old 12-21-2013, 01:37 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,597

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
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"

Last edited by John VV; 12-21-2013 at 01:38 PM.
 
Old 12-21-2013, 11:42 PM   #3
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 19 86_64
Posts: 355

Original Poster
Rep: Reputation: 31
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.
 
Old 12-22-2013, 12:59 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,597

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
and you did configure the switch from OpenJDK to Oracle JAVA for "libjavaplugin"
otherwise no plugin for firefox
 
Old 12-22-2013, 01:11 AM   #5
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 19 86_64
Posts: 355

Original Poster
Rep: Reputation: 31
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)

Last edited by Dummy-in-Linux; 12-22-2013 at 01:12 AM.
 
  


Reply

Tags
7re45, fedora 20, java, oracle, sun


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle and java updates teckk General 1 01-22-2013 11:46 AM
Oracle java-how to install 32&64? sluge Linux - Software 0 10-18-2012 01:10 AM
How do I Install Oracle Java 7? TehGoat Linux - Software 2 02-04-2012 03:26 PM
Oracle 10g and java on Fedora eror code 17008 ushradha Linux - General 1 11-01-2004 07:40 PM
nagios/oracle and java enzo250gto Linux - Software 0 09-02-2004 06:05 PM


All times are GMT -5. The time now is 08:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration