LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2004, 04:06 AM   #1
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Rep: Reputation: 15
Java Problems, I Think


Hi all

I recently installed Red hat 9.0 and im using the default browser mozilla,

When trying to access certain webpages i get an error saying no Java plugin installed,

I download a java plugin from java-sun.com and tried to install it, (RPM) During the install i got an error and the install aborted,

So ive tried to install the package again, but now every time i click the rpm file, a window pops up saying "package installed"


I know its not installed properly, how can i remove/uninstall this package so i can try to install it again ?


Once its installed, it should show up in HELP - About plugins ?,

please help,
 
Old 01-06-2004, 05:02 AM   #2
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
do
rpm -e <packagenamewithversion>

Thatt would uninstall the java package. I recommend you go to http://www.mozilla.org. Download the required plugin from there. Alos on that site u will find if that package requires any other packages.

Hope this helps
 
Old 01-06-2004, 05:08 AM   #3
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks for your help, ill try this out tonight, will let you know how I get on,
 
Old 01-06-2004, 06:40 AM   #4
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
No problemo!
 
Old 01-07-2004, 11:52 AM   #5
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by LinuxLala
do
rpm -e <packagenamewithversion>

Thatt would uninstall the java package. I recommend you go to http://www.mozilla.org. Download the required plugin from there. Alos on that site u will find if that package requires any other packages.

Hope this helps


Still having problems can anyone help please,

I run rpm -e jre-1.3.1_10.i586.rpm And get this error ?
error: package jre-1.3.1_10.i586.rpm is not installed

So I thought Great its not installed, So then I run rpm -i jre1.3.1_10.i586.rpm And get the following error
package jre-1.3.1_10-fcs is already installed ??

what the heck ? I have also tried rpm -u to upgrade it, and get "package jre-1.3.1_10-fcs is already installed"


When orginaly trying to install this program, it crashed half way though install, when i tried to install it again, it said that this package is installed,

I have read the man rpm page and im not sure on some of the commands, does anyone know how to sort this problem ?


Thanks again
 
Old 01-07-2004, 11:59 AM   #6
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
try it else. It should be possible to download the java plugin not in an rpm. it just comes down on copying one or 2 files to your /usr/lib/mozilla/plug-in/ folder. Really no big deal.

Actually, when installing plug-ins it is often not a good idea to use rpms...

good luck with your next try, if you don't find the files, mail me: elluva@pandora.be, I'll send them back to you.
 
Old 01-07-2004, 12:05 PM   #7
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Original Poster
Rep: Reputation: 15
I should compile it from source ? what about the half install version I have on there already ? thanks for the tip on not to use rpm's for plug ins,

i really need help on this,
 
Old 01-07-2004, 12:15 PM   #8
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
no, there's no need to compile anything, it will be just a precompiled file you have to copy. Isn't there a flag to force the removal.
You don't have to worry on how the half installed rpm is going to act on the plugin, since you tried to install the java Runtime Environment. The rpm just extracts some files to /usr/local/java/jre-<version> .

try this instead of the rpm: http://java.sun.com/webapps/download...?BundleId=9500
 
Old 01-07-2004, 12:22 PM   #9
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
ah I tried it, when the .bin file has extracted the j2re, you just copy it to /usr/local/java
then you copy /usr/local/java/jre<version>/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
to /usr/lib/mozilla/plug-in/

this is if you have mozilla1.4 or newer, for older mozilla versions, you'll need /usr/local/java/jre<version>/plugin/i386/ns610/libjavaplugin_oji.so
 
Old 01-07-2004, 12:36 PM   #10
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Original Poster
Rep: Reputation: 15
I have extracted the bin and now i have directory called j2re1.4.2_03, did you want me to copy the conplete directory ?

I havent got a /usr/local/java directory ? shall I create one ?
 
Old 01-07-2004, 01:11 PM   #11
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
yes, yes...

as root type:

mkdir /usr/local/java
cp j2re<version> /usr/local/java

then just do what I previously told you...
 
Old 01-07-2004, 03:46 PM   #12
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks for all your help, its all working now :-) only the "iproute" mission to go,
 
Old 01-10-2004, 01:15 PM   #13
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
Are any of you having problems with Mozilla crashing when you go to a java enabled site? Everytime I have a site like that

http://milfordswimming.org/MHS%20swi...%20default.htm

Mozilla crashes. Any help would be great. I followed the above directions and my aboutlugins reports java so I am unsure how to make mozilla stop crashing. Here's the error message that I get:

INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2
<
System error?:: No such file or directory
Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable


I really need to get this working. Thanks!
 
Old 01-10-2004, 02:06 PM   #14
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
what version of mozilla do you have?
if you type in a terminal 'mozilla' is there any output?
 
Old 01-10-2004, 03:33 PM   #15
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
I am using mozilla 1.5. I can't type mozilla in the terminal because there isn't a symlink or executable in the /usr/bin for mozilla. I use /usr/local/mozilla/./mozilla to execute mozilla. If I move the mozilla executable file to /usr/bin, it tells me that it cannot find mozilla runtime directory. Same thing if I do:

ln mozilla /usr/bin
 
  


Reply


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
problems with java jtravnick Linux - Software 28 08-04-2005 08:15 AM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 07:30 AM
Java problems vbguru12000 Debian 3 01-28-2005 11:12 PM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 05:12 PM
Problems with java Inexactitude Linux - Software 2 05-25-2004 08:29 PM


All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration