MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I ran into a problem getting java to work. I did the following:
<<First, create (as root) a "java" subdirectory in the /usr directory. Download the self-extracting (not RPM) file of j2re-1_4_2 from Sun. Move (as root) the file to /usr/java. Cd (as root) to the /usr/java and issue the following 2 commands:
Read the instructions and choose "yes" to untar it. When done, issue this command:
ln -s /usr/java/j2re1.4.2/bin/java java
Now, to set java to work with Mozilla, issue (as root) this command:
ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /*/libjavaplugin_oji.so
*Your Mozilla plugin directory
To set java to work with Konqueror, make (as user) path to java executable (KDE Control Center->Internet->Web Browser->Java):
/usr/java/java >>
It doesn't work, and I think I must have left something out. When I try to create link, it tells me no such file or directory.
[root@david java]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so' to `/usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so': No such file or directory
[root@david java]#
The file that is missing is the /usr/lib/mozilla_1.3/plugins/libjavaplugin
What I have is
/usr/lib/mozilla-1.3/plugins/libnullplugin.so
I thought I was creating the link in the mozilla plugin folder, but I obviously messed up somewhere. Can you help?
Don't you have a file /usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin.so ?
I'm using the java sdk and not the java re so try to do a search in the /usr/java directory to find a file containing the text "javaplugin" and then link the file found to /your/mozilla/plugin/path.
Have a look at mozilla.weebeastie.net -How I installed the Java plugin andhttp://mozdev.org ,it just might help you on your way.
As for setting up java in Konqueror try this:Konqueror-settings-Configure Konqueror-Java & Java script-enable java globally-path to java executable or java should look like this:/usr/java/j2re1.4.1_04/bin/java.For good measure you should enable java script globally.
<<Don't you have a file /usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin.so ?
I'm using the java sdk and not the java re so try to do a search in the /usr/java directory to find a file containing the text "javaplugin" and then link the file found to /your/mozilla/plugin/path.>>
Yes, I do. The problem seems to be with the link. I may have syntax wrong, but I am not sure how. This is what happened when I tried ns4:
[root@david david]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so' to `/usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so': No such file or directory
[root@david david]#
It looks like a link command failed, and I am not sure which one.
Originally posted by ricdave [root@david david]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so' to `/usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so': No such file or directory
[root@david david]#
It looks like a link command failed, and I am not sure which one.
The link syntax is correct, but it just says that the file `/usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so doesn't exist.
Can you tell me what's the content of the directory /usr/java/j2re1.4.2/plugin/i386/ns4 ?
<< The link syntax is correct, but it just says that the file `/usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so doesn't exist.
Can you tell me what's the content of the directory /usr/java/j2re1.4.2/plugin/i386/ns4 ?>>
libjavaplugin_oji.so
it is a 275.3 KB shared library rwxe-xr-x
I also cannot get it to work in konqueror, and I have tried all the combos, Global, not global, ns4, ns610, etc. Have also scratched java and re-downloaded and re-installed several times in case of corrupted download. I know the answer is simple: I just can't see it.
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634
Rep:
[root@david java]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so' to `/usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so': No such file or directory
[root@david java]#
libjavaplugin_oji.so
last part of link
should read
ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/
to create new link in folder
its saying there is no such folder or file in there
you are putting one in there
EDIT: the plugin in ns4 doesnt have th "_oji." part
EDIT: the plugin in ns4 doesnt have th "_oji." part>>
Correct on ns4, only one which does not have that.
[root@david plugins]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin.so /usr/lib/mozilla_1.3/plugins/
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/' to `/usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin.so': No such file or directory
[root@david plugins]#
if you are in the plugin directory of mozilla or netscape you can leave off the <destination part of the link command
also if you decide to put it in you should have a space between the <source> and <destination>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.