Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 11:29:28 -0500 (EST)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Erwan Arzur <erwan@netvalue.com>
Cc:        Volker Sturm <v.sturm@gmx.de>, <questions@FreeBSD.ORG>
Subject:   Re: Java Plugin
Message-ID:  <20011030112801.K40568-100000@shumai.marcuscom.com>
In-Reply-To: <3BDECECB.70605@netvalue.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Oct 2001, Erwan Arzur wrote:

> > javaplugin.so from /usr/local/lib/netscape-linux/plugins/. Netscape does
> > find the plugin but will not execute any plugin with the error message
> > "Exec of /usr/local/bin/i386/native_threads/java_vm failed: 2 Plugin:
> > Plugin is not enabled or Java VM process has died.

I ad this problem, too.  I had to rewrite the netscape script to get the
plugin to load.  I used the opera script as an example:

#!/bin/sh

export MOZILLA_HOME;
MOZILLA_HOME=${MOZILLA_HOME:=/usr/local/lib/netscape-linux}export XCMSDB;
XCMSDB=/dev/null
export CLASSPATH; CLASSPATH=
NPX_PLUGIN_PATH=/usr/local/lib/netscape-linux/plugins
for plugin_dir in \
    /usr/local/linux-jdk1.3.1/jre/plugin/i386/ns4 \
    /usr/local/Acrobat4/Browsers/intellinux \
    ;
do
    if [ -d "${plugin_dir}" ] ; then
        NPX_PLUGIN_PATH="${NPX_PLUGIN_PATH}:${plugin_dir}"
    fi
done
export NPX_PLUGIN_PATH
exec $MOZILLA_HOME/communicator-linux-4.78.bin "$@"

Joe

>
> This is because the linuxator has its own version of /usr in
> /usr/compat/linux/usr, so there is a "no such file or directory" error
> (code 2) when it tries to load the plugin and run the VM ...
>
> Try ln -s /usr/local /usr/compat/linux/usr/local, but i'm not it will
> solve your problem.
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011030112801.K40568-100000>