LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   java problems (https://www.linuxquestions.org/questions/linux-software-2/java-problems-208077/)

drkfir5 07-21-2004 08:28 PM

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.

blk96gt 07-21-2004 08:36 PM

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.

LavaDevil94 07-21-2004 08:37 PM

Where have you installed Java and Mozilla?

drkfir5 07-21-2004 08:47 PM

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

blk96gt 07-21-2004 10:08 PM

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.

drkfir5 07-23-2004 03:48 PM

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.

RHELL 07-23-2004 04:54 PM

What is $JAVA_HOME set to?
I've had to link /usr/java to /usr/lib/java due to vagaries of java app's.

linnewbietoo 07-23-2004 08:41 PM

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

drkfir5 07-28-2004 07:21 PM

OK.. at risk of seeming newbie I'm going to ask..

Where do I check what $JAVA_HOME is set to?

Thanks,
J.

RHELL 07-28-2004 08:09 PM

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


All times are GMT -5. The time now is 06:55 AM.