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

1st November 2007, 12:28 AM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 6

|
|
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
|

1st November 2007, 12:32 AM
|
|
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.
|

1st November 2007, 12:50 AM
|
|
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.
|

1st November 2007, 01:24 AM
|
|
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.
|

1st November 2007, 02:19 AM
|
|
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
|

1st November 2007, 02:25 AM
|
 |
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.
|

1st November 2007, 02:28 AM
|
 |
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
|

1st November 2007, 02:34 AM
|
|
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
|

1st November 2007, 02:44 AM
|
 |
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 "about  lugins" 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.
|

1st November 2007, 02:54 AM
|
 |
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.
|

1st November 2007, 11:05 AM
|
|
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
|

1st November 2007, 03:24 PM
|
|
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.
|

1st November 2007, 04:49 PM
|
 |
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.
|

2nd November 2007, 01:24 PM
|
 |
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.
|

2nd November 2007, 01:55 PM
|
 |
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
__________________
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 10:10 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|