- ThinkBlog - http://thinkblog.org -

Linux Tip 002

Posted By Michael On 30th August 2003 @ 21:50 In Linux | No Comments

[Courtesy of [1] Jeff.]

When you install Mozilla on a Linux box without specifying a [2] Java support under Mozilla by a single symbolic link. Let’s assume that you’ve just freshly installed the JVM and want to tell Mozilla to use Java. We’ll assume the following two things:

1. Your plugin directory for Mozilla is /usr/lib/mozilla-1.4/plugins/
2. Your JVM directory is /usr/java/j2re1.4.2_01/

As root, says Jeff, type the following commands:

# cd /usr/lib/mozilla-1.4/plugins/
# ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so libjavaplugin_oji.so

This will establish a symlink (symbolic link, in other words) from your Java plugin directory to a pointer-file in your Mozilla plugins directory. Mozilla will then be able to use it. YMMV, but it’s good to know. Thanks [1] Jeff!

Linux Tip 002

Posted By Michael On 30th August 2003 @ 21:50 In Linux | No Comments

[Courtesy of [8] Jeff.]

When you install Mozilla on a Linux box without specifying a [9] Java support under Mozilla by a single symbolic link. Let’s assume that you’ve just freshly installed the JVM and want to tell Mozilla to use Java. We’ll assume the following two things:

1. Your plugin directory for Mozilla is /usr/lib/mozilla-1.4/plugins/
2. Your JVM directory is /usr/java/j2re1.4.2_01/

As root, says Jeff, type the following commands:

# cd /usr/lib/mozilla-1.4/plugins/
# ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so libjavaplugin_oji.so

This will establish a symlink (symbolic link, in other words) from your Java plugin directory to a pointer-file in your Mozilla plugins directory. Mozilla will then be able to use it. YMMV, but it’s good to know. Thanks [8] Jeff!


Article printed from ThinkBlog: http://thinkblog.org

URL to article: http://thinkblog.org/2003/08/30/linux_tip_002/

URLs in this post:
[1] Jeff: http://nethub.org/
[2] Java: http://java.sun.com/
[3] Jeff: http://nethub.org/
[4] symbolic links: http://unix.about.com/library/glossary/bldef-symbolic-link.htm
[5] ln: http://www.die.net/doc/linux/man/man1/ln.1.html
[6] Java support: http://www.java.com/
[7] Mozilla: http://mozilla.org/
[8] Jeff: http://nethub.org/
[9] Java: http://java.sun.com/
[10] Jeff: http://nethub.org/
[11] symbolic links: http://unix.about.com/library/glossary/bldef-symbolic-link.htm
[12] ln: http://www.die.net/doc/linux/man/man1/ln.1.html
[13] Java support: http://www.java.com/
[14] Mozilla: http://mozilla.org/

Click here to print.