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 1st November 2007, 12:28 AM
dk_sn1p3r Offline
Registered User
 
Join Date: Nov 2007
Posts: 6
Cool FC7 + Java Sun 6u3

A while ago I installed Java Suns newest Runtime Environment and looking at the forums here now I think it went south when I installed the rpm version instead of the self extracting binary. How would I go about uninstalling the rpm and installing the other version. I followed the instructions on the suns web site about installing the rpm but I'm still a little fresh to Linux to know what to do from here. Any help would be appreciated. Oh and a side note this is a fresh install of fedora that I put Java on so it's not a problem with other versions just the latest rpm I installed.

Thanks in advance!
__________________
-DK_Sn1p3r
Reply With Quote
  #2  
Old 1st November 2007, 12:32 AM
ariskk Offline
Registered User
 
Join Date: Sep 2007
Posts: 72
when it comes to java, I never use rpms. I recommend uninstalling all rpm java versions and downloading the bin self extacting distro of jdk.
Reply With Quote
  #3  
Old 1st November 2007, 12:50 AM
dk_sn1p3r Offline
Registered User
 
Join Date: Nov 2007
Posts: 6
How would I use rpm in a root shell to uninstall cleanly?

Would this work:
rpm -e --allmatches jre-6u3-linux-i586.rpm
__________________
-DK_Sn1p3r

Last edited by dk_sn1p3r; 1st November 2007 at 01:00 AM.
Reply With Quote
  #4  
Old 1st November 2007, 01:24 AM
dk_sn1p3r Offline
Registered User
 
Join Date: Nov 2007
Posts: 6
This is odd it's telling me from rpm that jre-6u3-linux-i586.rpm is already installed when I try to run rpm install under a root shell. Yet it's telling me it's not there and I can't uninstalling it because it's not installed.

I have no idea what to do anymore?!?

Edit nvm I can uninstall it from the package manager but for some reason it wouldn't let me via console when i was sudo'd as root weird.
__________________
-DK_Sn1p3r

Last edited by dk_sn1p3r; 1st November 2007 at 01:28 AM.
Reply With Quote
  #5  
Old 1st November 2007, 02:19 AM
dk_sn1p3r Offline
Registered User
 
Join Date: Nov 2007
Posts: 6
Fancy that I uninstalled the rpm and installed using the other version of sun java and java still doesn't work. I've tried disabling selinux and that hasn't worked. I've also tried putting symlinks in the /usr/lib/mozilla/plugins directory and in the latest firefox directory to no avail. I'm stumped why java still isn't working any help would be appriciated. Oh i'm trying to use firefox to use java in if that makes a differance. Also i've tried disabling noscript and disabling adblocker plugins for firefox and that makes no differance still.... I may just say forget linux and stick to windows for gaming.
__________________
-DK_Sn1p3r
Reply With Quote
  #6  
Old 1st November 2007, 02:25 AM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,334
Interesting! I've just installed it on Ubuntu Gutsy 7.10 and also find out that it's not working. The install went fine (several times) and the symlink's nice and green and even the "about:plugins" is showing the install...yet no java! Perhaps it's Sun's fault?
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #7  
Old 1st November 2007, 02:28 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by dk_sn1p3r
Fancy that I uninstalled the rpm and installed using the other version of sun java and java still doesn't work. I've tried disabling selinux and that hasn't worked. I've also tried putting symlinks in the /usr/lib/mozilla/plugins directory and in the latest firefox directory to no avail. I'm stumped why java still isn't working any help would be appriciated. Oh i'm trying to use firefox to use java in if that makes a differance. Also i've tried disabling noscript and disabling adblocker plugins for firefox and that makes no differance still.... I may just say forget linux and stick to windows for gaming.

try

su
yum install compat-libstdc++-*
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #8  
Old 1st November 2007, 02:34 AM
dk_sn1p3r Offline
Registered User
 
Join Date: Nov 2007
Posts: 6
Yes that did it I wonder why those files aren't included in the installer. LOL Odd. Well thank you very much =-P
__________________
-DK_Sn1p3r
Reply With Quote
  #9  
Old 1st November 2007, 02:44 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by bob
Interesting! I've just installed it on Ubuntu Gutsy 7.10 and also find out that it's not working. The install went fine (several times) and the symlink's nice and green and even the "aboutlugins" is showing the install...yet no java! Perhaps it's Sun's fault?
Hi Bob

try

sudo apt-get install libstdc++5 libgcc1 libxp6
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 1st November 2007 at 02:51 AM.
Reply With Quote
  #10  
Old 1st November 2007, 02:54 AM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,334
Quote:
Originally Posted by leigh123@linux
Hi Bob

try

sudo apt-get install libstdc++5 libgcc1 libxp6
Ah, if it were only that:

Quote:
bob@bob-desktop:~$ sudo apt-get install libstdc++5 libgcc1 libxp6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++5 is already the newest version.
libgcc1 is already the newest version.
libxp6 is already the newest version.
Thanks though. I'm giving a couple more things a try.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #11  
Old 1st November 2007, 11:05 AM
Daur Offline
Registered User
 
Join Date: Apr 2007
Location: PaK
Age: 30
Posts: 26
same problem here...
jre installed successfully
but NOT recognizing by browser
i have tried both the files provided by SUN
and also the instructions on their website...


HELP coz i want to install LimeWire p2p and it needs jre installed

thanks
Reply With Quote
  #12  
Old 1st November 2007, 03:24 PM
A.Serbinski Offline
Registered User
 
Join Date: Jul 2006
Posts: 1,123
First off, contrary to what some people would tell you, the RPM install is perfectly good.
The rpm puts its files in /usr/java/(whatever version) and then creates a symlink to it at /usr/java/latest.

IN ORDER FOR JAVA TO WORK from the command line, you either need to call its path explicitly, or add it to the PATH variable.

IN ORDER FOR JAVA PLUGIN to work, you need to symlink it into your mozilla directory.

ONLY THE 32BIT JAVA comes with a plugin (unless they've recently changed this).

LIMEWIRE IS WORSE than any virus. Try USENET instead.
Reply With Quote
  #13  
Old 1st November 2007, 04:49 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,334
Good points, but there may be some problem with the latest Sun Java since I've been doing this since FC-2 and have never had it fail before.

My Fedora install (32 bit) with an earlier version is working just fine, but Ubuntu Gutsy (32 bit) is failing even with the Automatix setup and then the manual (me) setup & symlink to both mozilla & firefox plugins.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #14  
Old 2nd November 2007, 01:24 PM
Perpetual's Avatar
Perpetual Offline
Registered User
 
Join Date: Oct 2007
Location: Decatur, IL
Age: 42
Posts: 110
I tried installing java in 7.92 Rawhide (10/29/2007) and could not get it to work in Firefox. Visiting the test java page kept saying I needed to install the java plugin. After hours of attempts and 2 reinstalls I gave up.

Edit: too much of a noob with this to attempt to point fingers but I didn't think the problem was a Fedora problem. It might be that the 4 different guides were too outdated for FC8 but everything appeared to install and link properly as yum reported no errors...

Last edited by Perpetual; 2nd November 2007 at 01:34 PM.
Reply With Quote
  #15  
Old 2nd November 2007, 01:55 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by Perpetual
I tried installing java in 7.92 Rawhide (10/29/2007) and could not get it to work in Firefox. Visiting the test java page kept saying I needed to install the java plugin. After hours of attempts and 2 reinstalls I gave up.

Edit: too much of a noob with this to attempt to point fingers but I didn't think the problem was a Fedora problem. It might be that the 4 different guides were too outdated for FC8 but everything appeared to install and link properly as yum reported no errors...

Java + plugin are really easy in Rawhide just use icedtea

su
yum install java-1.7.0-icedtea java-1.7.0-icedtea-plugin


P.S jre 1.6.0 wouldn't work for me either
Attached Thumbnails
Click image for larger version

Name:	Screenshot-1.jpg
Views:	80
Size:	176.1 KB
ID:	13780  
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
Reply

Tags
6u3, fc7, java, sun

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
Lousy Java script or dated Java? Clean Mind Using Fedora 3 4th January 2009 04:30 AM
[F9 64-bit] jperf Java f/e for iperf - Java exception error techmum Using Fedora 0 24th July 2008 01:22 AM
Can I update java by simply installing java? schwim Using Fedora 5 20th December 2007 01:34 PM
Firefox with GNU Java plugin (NOT Sun Java) drive55 Using Fedora 6 23rd October 2006 03:56 AM
java prob: alternatives --config java peimankhosravi Using Fedora 0 12th August 2005 04:06 PM


Current GMT-time: 10:10 (Thursday, 20-06-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