From owner-freebsd-questions Tue Oct 30 8:29:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id DE01B37B405 for ; Tue, 30 Oct 2001 08:29:27 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id f9UGTSr41892; Tue, 30 Oct 2001 11:29:28 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Tue, 30 Oct 2001 11:29:28 -0500 (EST) From: Joe Clarke To: Erwan Arzur Cc: Volker Sturm , Subject: Re: Java Plugin In-Reply-To: <3BDECECB.70605@netvalue.com> Message-ID: <20011030112801.K40568-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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