LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-15-2004, 07:44 AM   #1
ytsen
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
Angry Red Hat 9: not able to install app/x-java-vm??


Dear reader,

I run:

Mozilla 1.6
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

with Red Hat 9 Linux version: 2.4.20-8

and I have repeatedly tried to install the `java2 linux plug-in'

from:

h tt p ... wp dot netscape do com slash plugins slash jvm dot html

but it just don't work (I install it as root)!?!

How can this be solved?!

Thank you so much for help!

Ytsen.
 
Old 04-15-2004, 09:19 AM   #2
toolshed
Member
 
Registered: Aug 2001
Location: North Ka-Ki-Lak-i
Distribution: Fedora
Posts: 79

Rep: Reputation: 15
Use google or this search feature. google.com/linux is good help. java linux install plugin sucks for linux i think...gl.


Installing Java Plugin on Mozilla for Linux
To install the Java plugin, download the JRE for Linux from http://java.sun.com/j2se/1.4.2/download.html.

After you have installed Java, then you must install the plugin by creating a symbolic link from the java plugin library to the mozilla plugins directory:

cd where-ever-you-installed-mozilla
cd plugins

# If your system has GCC 3.2 (RedHat 8 or 9) do:
ln -s path-to-java/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .

# Otherwise:
ln -s path-to-java/plugin/i386/ns610/libjavaplugin_oji.so .
 
Old 04-15-2004, 10:23 AM   #3
ytsen
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Dear Tooslhed#7,

Yesterday I couldn't get it to work, but now installed the JRE someplace else and now it WORKS!!

THANKS BIG TIME.

Ytsen.

Last edited by ytsen; 04-16-2004 at 05:12 AM.
 
Old 04-26-2004, 08:47 AM   #4
adengua
Member
 
Registered: Oct 2003
Posts: 32

Rep: Reputation: 15
help java

how did you get java VM to work ....i also have the same problem redhat 9.0 help
 
Old 04-26-2004, 09:44 AM   #5
ytsen
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I imagine, fishy stuff. I downloaded the JRE for Linux from java.sun.com/j2se/.

And I unpacked it in the directory `/usr/lib/' on my system.

Then in the plug-ins dir of mozilla `some-place-on-your-system/mozilla/plugins' I added a symbolic link:

ln -s path-to-java/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .

Don't forget the point at the end of the line. Then I restarted my system and it worked. The first time I had extracted the JRM file on the root. Aparantly it does matter where you store it, funny. Good luck.
 
Old 05-17-2004, 01:21 PM   #6
physics_kat
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Unhappy not able to install app/x-java-vm

I'm having the SAME problem. I am using RH9, Mozilla for Linux.
I downloaded j2re-1_5_0-beta-linux-i586-rpm.bin
I unpacked it and installed it in my usr/lib/ directory (as root).

Then I did :
ln -s path-to-java/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .
and I have libjavaplugin_oji.so (in red) in my mozilla/plugins directory.

But Java still does not work. I restarted my system, and nothing.

Please help me. I'm new to Linux and it's so very frustrating.
 
Old 05-18-2004, 05:56 AM   #7
ytsen
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
RE: not able to install app/x-java-vm

Hi, you are sure that you need the i586 rpm? If so, then also link to that. Furthermore, I'm quite a novice too, but when I installed the rpm in another dir, it worked... So if you're sure about the i586 vs. i386 then I suggest you install (just to try it out at first!) the rpm in `usr/loc' or in a dir `closer' to the plug-in dir of moz. Good luck!
 
Old 05-18-2004, 10:12 AM   #8
physics_kat
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Hmm.

Well, I can't even find where to download the i386 rpm file. But here's what I discovered.

In my usr/java directory I have 2 folders: j2re1.4.2_04 and j2re1.5.0
j2re1.5.0 has a plugin directory, and inside plugin I have desktop and i386 folders.
so I went to j2re1.5.0/plugin/i386
and there I have three folders
ns4
ns7
and ns7-gcc29

Each one of these folders has a libjavaplugin_oij.so

When I go to usr/java/j2re1.4.2_04 I have a plugin directory again, and desktop and i386
Inside plugin I have three folders again
ns4, ns610, and ns610-gcc32.
Each one of these has a libjavaplugin_oij.so as well

Hmm. So do I have too many things installed. How do I uninstall them if this is the case?

Please help!
 
Old 05-19-2004, 05:02 AM   #9
ytsen
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up Don't give up

You are right, I can't find the i386 anymore neither, no worry, just take the i586.

Unpack it and install the .so file at:

/usr/lib/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

where you might want to correct for the 386 thing.

Make the link accordingly, again care for the 386 vs. 586 thing, and pray that it works, good luck.
 
Old 06-10-2004, 09:53 AM   #10
physics_kat
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
No luck.

Been trying for some time now to get it to work, but it still won't do it.

I unpacked and re-installed java in the usr/lib/ directory, and created a link:
ln -s path-to-usr/lib/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .

It told me it already existed, I checked and the libjavaplugin_oij.so (which is green) is there.

But java still doesn't work.

Does anyone have any other tips that might help? It's driving me nuts. Thanks.
 
Old 06-10-2004, 10:03 AM   #11
ytsen
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Re: java

You say it told you that the file exists. This is when you make the link right? That means that you have to rename the old link (which of course has the same file name) first to something like link-old, then you make the link again.

I was a bit surprised also when I got that message but it means that the link is already there. But does that old link point to your newly installed lib, probably not right? No harm in trying it out, good luck again.

Ytsen.
 
  


Reply



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
java come with Red Hat 8? naijaguy Programming 1 08-12-2004 10:59 AM
Where can I download a Java app for Fedora Core (Red Hat) ? AshKiwi Linux - Software 3 05-07-2004 04:45 AM
Need to install java app with database ElementNine Programming 8 03-01-2004 11:58 PM
oracle app server on red hat 9 versaulis Linux - Software 0 12-08-2003 10:06 AM
Java and Red Hat Selos Linux - Newbie 2 08-27-2003 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:00 AM.

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
Open Source Consulting | Domain Registration