LinuxQuestions.org
Help answer threads with 0 replies.
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 07-21-2004, 08:28 PM   #1
drkfir5
Member
 
Registered: Jan 2004
Distribution: SuSE 9.0
Posts: 41

Rep: Reputation: 15
java problems


Howdy,
I'm trying to install java on SuSE 8.0 (to be used with mozilla and LimeWire, in particular) and I am having trouble.

The package I download seems to install correctly, but mozilla does not recognize the package as being installed (every time I try to access a site that uses java it brings up the "---DOWNLOAD JAVA HERE---" type thing.

I'd be greatful for any assisstance.
Jim.
 
Old 07-21-2004, 08:36 PM   #2
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
You need to create a symbolic link to it in your plugins directory. In my case, java was installed to /usr/lib/java, and my mozilla directory is /usr/lib/mozilla-1.7. So what you would do to create a symlink is 'ln -s /usr/lib/mozilla-1.7/plugins/libjavaplugin_oji.so /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so'. After that it should work.
 
Old 07-21-2004, 08:37 PM   #3
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Where have you installed Java and Mozilla?
 
Old 07-21-2004, 08:47 PM   #4
drkfir5
Member
 
Registered: Jan 2004
Distribution: SuSE 9.0
Posts: 41

Original Poster
Rep: Reputation: 15
/usr/local/mozilla/
and


/usr/lib/java/
or is it /usr/java/ ?

which java says /usr/lib/java but i recall installing it in /usr/java/

Both directories exist. /usr/java/ appears to be the correct one, however. No clue what the other one is...

Last edited by drkfir5; 07-21-2004 at 08:53 PM.
 
Old 07-21-2004, 10:08 PM   #5
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Try this command then, if you haven't yet. ln -s /usr/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins/libjavaplugin_oji.so. Sorry, I had it backwards when I posted it first.
 
Old 07-23-2004, 03:48 PM   #6
drkfir5
Member
 
Registered: Jan 2004
Distribution: SuSE 9.0
Posts: 41

Original Poster
Rep: Reputation: 15
Yes. I tried that. I didn't help any.

I though, perhaps I should post the error message that I recive from the browser when I am trying to access a site using java2.

'This page contains information of a type (application/x-java-vm) that can only be viewed with the appropriate Plug-in.

Click OK to download Plugin.'

After clicking download I select the 'Java 2 Linux Plug-in"
it downloads the plugin and then claims that it has been sucessfully installed. This is not the case, however, due to the fact that when i attempt to access the page again i get the same problem.

Tx,
Jim.
 
Old 07-23-2004, 04:54 PM   #7
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
What is $JAVA_HOME set to?
I've had to link /usr/java to /usr/lib/java due to vagaries of java app's.
 
Old 07-23-2004, 08:41 PM   #8
linnewbietoo
LQ Newbie
 
Registered: Jul 2004
Distribution: RedHat9
Posts: 6

Rep: Reputation: 0
I too am having the problem. I downloaded the java RPM file, to /usr/java and ran the install.

I then went to /usr/lib/mozilla/plugins and linked the .so file.

I closed down mozilla and reopened it, but I still had the puzzle showing. I then realized that my browser was actually mozilla-1.2.1.

so I relinked the .so file from within /usr/lib/mozilla-1.2.1/plugins and it still did not work.

I have checked all three directories, /usr/java and both plugin directories under mozilla and the .so file is there.

I did get this to work on my old drives, but then I reloaded my server the thing I did notice was that the java version is jre1.4.2_05.

HELP!

Thanks,

linnewbietoo

Last edited by linnewbietoo; 07-23-2004 at 08:42 PM.
 
Old 07-28-2004, 07:21 PM   #9
drkfir5
Member
 
Registered: Jan 2004
Distribution: SuSE 9.0
Posts: 41

Original Poster
Rep: Reputation: 15
OK.. at risk of seeming newbie I'm going to ask..

Where do I check what $JAVA_HOME is set to?

Thanks,
J.
 
Old 07-28-2004, 08:09 PM   #10
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
>> Where do I check what $JAVA_HOME is set to?
It's in your shell environment:
'env | grep JAVA' should get it.

You might check:
http://forum.java.sun.com/forum.jsp?forum=14
 
  


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

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

All times are GMT -5. The time now is 03:11 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
Open Source Consulting | Domain Registration