Date: 18 Feb 2002 16:01:43 -0800 From: Joe Kelsey <joe@zircon.seattle.wa.us> To: Mark Evenson <evenson@panix.com> Cc: Mike Gratton <mike@vee.net>, Jonathan Chen <jonc@chen.org.nz>, freebsd-java@FreeBSD.ORG Subject: Re: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <1014076903.59818.54.camel@zircon.zircon.seattle.wa.us> In-Reply-To: <a08z9qtyu5.fsf@panix3.panix.com> References: <20020215150421.A50739@shale.csir.co.za> <20020216150534.C60480@shale.csir.co.za> <1013894600.59818.5.camel@zircon.zircon.seattle.wa.us> <20020217003431.E60480@shale.csir.co.za> <20020217165427.A3783@grimoire.chen.org.nz> <3C6F4260.4050909@vee.net> <1013924828.59818.22.camel@zircon.zircon.seattle.wa.us> <a08z9qtyu5.fsf@panix3.panix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2002-02-18 at 10:43, Mark Evenson wrote: > Joe Kelsey <joe@zircon.seattle.wa.us> writes: > > > On Sat, 2002-02-16 at 21:40, Mike Gratton wrote: > > > Jonathan Chen wrote: > > > > INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 > > > > [snip] > > > > Anyone know the cause and the fix? > > > This may well be Mozilla bug. I'm using a recent nightly (0.9.8+) on my > > > [wince] Linux workstation, and I get the same error. Can you try using > > > 0.9.7? > > > > If you build both Mozilla 0.9.8 and jdk13 from the latest ports, then > > they work absolutely correctly. > How is 'java_vm' supposed to be in the PATH of mozilla when it does the > fork()/exec()? From the '+CONTENTS' of the installed package, 'java_vm' > ends up in the 'jdk1.3.1/jre/bin/i386/{green,native}_threads/java_vm' > subdirectories without a 'wrapper' symlink in the $JAVA_HOME/bin directory, > so the 'mozilla' binary should have no chance of finding 'java_vm' for the > exec(). Or does the plugin have this subdirectory relative to JAVA_HOME > hard-coded in? I never said anything about PATH! I said that the plugin had to be created from a virgin build with patchset 6 and that you have to make sure to remove any previous installation before installing patchset 6. j2sdk1.3.1/ext/plugin/oji_plugin/src/motif/navig5/JavaVM5.cpp contains the code for your edification. It uses CLASSPATH to figure out the directories where java_vm might be hiding. It then passes an exact path to exec. No PATH involved. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1014076903.59818.54.camel>