Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd September 2008, 08:13 AM
richm8027 Offline
Registered User
 
Join Date: Jul 2008
Posts: 3
Smile Java jre1.6.0_97 Export Command Line Command

I just installed Fedora 9 and went to test my default installed Java installation, and java.com said I am using an older version of Java. Java version 6.0 Update 0, and I have downloaded the newest version, jre1.6.0_07 and I tried to create a new plugins folder under the firefox directory, and java.com is still saying I have that older version, I found out why it keeps saying that, all of the available plugins are in the exports plugins directory under firefox, can I just use ln -s /usr/java/plugin/i386/ns7/libjavaplugin_oji.so?? If so thanks, I am pretty new to Linux and I am still learning the Terminal Command Line Commands, is there a special Export option or not??? Thanks for anybodies time that is viewing this!

Last edited by Hlingler; 4th September 2008 at 11:02 AM.
Reply With Quote
  #2  
Old 4th September 2008, 10:59 AM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Please don't do red anymore.

Start your terminal:
Code:
su -
alternatives --config java
Select one.
Reply With Quote
  #3  
Old 4th September 2008, 11:05 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Black text on a white field, please, unless you really need to highlight something.

I fixed it for you, this time.

V
Reply With Quote
  #4  
Old 5th September 2008, 07:45 PM
LatinHacker's Avatar
LatinHacker Offline
Registered User
 
Join Date: Sep 2007
Location: Venezuela
Age: 34
Posts: 120
I just installed jre 6u7 but java.com says java is not working. What can I do?

I use FC9
Reply With Quote
  #5  
Old 5th September 2008, 08:05 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,119
You could use this guide.
Reply With Quote
  #6  
Old 5th September 2008, 09:06 PM
LatinHacker's Avatar
LatinHacker Offline
Registered User
 
Join Date: Sep 2007
Location: Venezuela
Age: 34
Posts: 120
Exclamation

Quote:
Originally Posted by PabloTwo
You could use this guide.
Nop, I already did all that, and still not working.

any other suggestion? please
Reply With Quote
  #7  
Old 5th September 2008, 09:52 PM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
LatinHacker
Quote:
Nop, I already did all that, and still not working.
use yum to install OpenJDK
then if this is not working " yum remove OpenJDK"
then install sun java
---------------
what exactly is not working
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #8  
Old 5th September 2008, 10:58 PM
LatinHacker's Avatar
LatinHacker Offline
Registered User
 
Join Date: Sep 2007
Location: Venezuela
Age: 34
Posts: 120
Quote:
Originally Posted by JohnVV
LatinHacker

use yum to install OpenJDK
then if this is not working " yum remove OpenJDK"
then install sun java
---------------
what exactly is not working
The applets from any and every website do not start, not even from a local web based game that uses Java

Let me try what you suggest.
Reply With Quote
  #9  
Old 5th September 2008, 11:36 PM
LatinHacker's Avatar
LatinHacker Offline
Registered User
 
Join Date: Sep 2007
Location: Venezuela
Age: 34
Posts: 120
Exclamation

Quote:
Originally Posted by LatinHacker
The applets from any and every website do not start, not even from a local web based game that uses Java

Let me try what you suggest.
I tred removing them all, and reinstalling. The JDK did not work, nor did sun
Reply With Quote
  #10  
Old 6th September 2008, 12:38 AM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,119
In your FF browser: Click on Edit > Preferences > Content
Are the boxes labeled "Enable JavaScript" and "Enable Java" checked?
If not, put a check in each one.

Also in your FF browser: Click on Tools > Add-ons > Plugins
What version of Java is shown there?
Reply With Quote
  #11  
Old 6th September 2008, 01:10 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
the java rpm installes with a link for FireFox .The sun one dose not
you may need to link
--- the rpm ----------
/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/lib/i386/gcjwebplugin.so
or sun
/usr/lib/java
or
/usr/java
and look for /i386/gcjwebplugin.so
and link it to your ff plugins folder
-------------------
type in
Code:
 about:plugins
into the FF address bar to see what is installed
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10

Last edited by JohnVV; 6th September 2008 at 01:13 AM.
Reply With Quote
  #12  
Old 6th September 2008, 04:02 AM
LatinHacker's Avatar
LatinHacker Offline
Registered User
 
Join Date: Sep 2007
Location: Venezuela
Age: 34
Posts: 120
Question

Quote:
Originally Posted by PabloTwo
In your FF browser: Click on Edit > Preferences > Content
Are the boxes labeled "Enable JavaScript" and "Enable Java" checked?
If not, put a check in each one.

Also in your FF browser: Click on Tools > Add-ons > Plugins
What version of Java is shown there?
Those options are both enabled and under plugins, and/or aboutlugins there is nothing.
Reply With Quote
  #13  
Old 6th September 2008, 04:17 AM
LatinHacker's Avatar
LatinHacker Offline
Registered User
 
Join Date: Sep 2007
Location: Venezuela
Age: 34
Posts: 120
Question

Quote:
Originally Posted by JohnVV
the java rpm installes with a link for FireFox .The sun one dose not
you may need to link
--- the rpm ----------
/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/lib/i386/gcjwebplugin.so
or sun
/usr/lib/java
or
/usr/java
and look for /i386/gcjwebplugin.so
and link it to your ff plugins folder
-------------------
type in
Code:
 about:plugins
into the FF address bar to see what is installed
The file gcjwebplugin.so only exist on /usr/lib/gcj-4.3.0

What does it means? And how do I kink it to firefox plugins folder?
Reply With Quote
  #14  
Old 6th September 2008, 04:25 AM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,119
At this point I'm not sure what you have installed or not installed as far as Java is concerned, but it's obvious you have not properly installed the java broswer plugin. If you have the Sun Java JRE package installed, determine it's location:
Code:
su -
password
updatedb
locate /plugin/i386/ns7/libjavaplugin_oji.so
Then create the symbolic link (symlink) using the full path returned by that command.
Code:
ln -s /path_to/jre1.6.0_xx/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
Restart FF and check your 'aboutlugins' again. Be sure to use the actual path to the libjavaplugin_oji.so file on your system and not just copy/paste the example I gave above.

Last edited by PabloTwo; 6th September 2008 at 04:28 AM.
Reply With Quote
  #15  
Old 6th September 2008, 04:39 AM
LatinHacker's Avatar
LatinHacker Offline
Registered User
 
Join Date: Sep 2007
Location: Venezuela
Age: 34
Posts: 120
Code:
[root@dns1 ~]# updatedb
[root@dns1 ~]# locate /plugin/i386/ns7/libjavaplugin_oji.so
/home/LatinHacker/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so
/usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so
[root@dns1 ~]# ln -s /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
ln: creating symbolic link `/usr/lib/mozilla/plugins/libjavaplugin_oji.so': File exists
this is what happened.

Last edited by LatinHacker; 6th September 2008 at 04:42 AM. Reason: Error
Reply With Quote
Reply

Tags
command, export, java, jre97, line

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Command line craps game in java d347hm4n Programming & Packaging 5 17th February 2007 12:23 PM


Current GMT-time: 09:35 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat