From owner-freebsd-java Mon Feb 18 20:18:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id F070537B8BC for ; Mon, 18 Feb 2002 20:17:50 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g1J4Gux38101; Tue, 19 Feb 2002 17:16:56 +1300 (NZDT) (envelope-from jonc) Date: Tue, 19 Feb 2002 17:16:56 +1300 From: Jonathan Chen To: Joe Kelsey Cc: Mark Evenson , Mike Gratton , freebsd-java@FreeBSD.ORG Subject: Re: Mozilla plugin and native JDK 1.3.1p6. Message-ID: <20020219171656.A38032@grimoire.chen.org.nz> 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> <1014076903.59818.54.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1014076903.59818.54.camel@zircon.zircon.seattle.wa.us>; from joe@zircon.seattle.wa.us on Mon, Feb 18, 2002 at 04:01:43PM -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Feb 18, 2002 at 04:01:43PM -0800, Joe Kelsey wrote: [...] > 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. Well, I've rebuild the jdk, mozilla, and have still no success: ~,5:10pm> /usr/local/jdk1.3.1/bin/java -version java version "1.3.1-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p6-root-020218-17:07) Classic VM (build 1.3.1-p6-root-020218-17:07, green threads, nojit) ~,5:11pm> cd /usr/local/jdk1.3.1/jre/bin/i386/green_threads green_threads,5:11pm> ls -l java* -rwxr-xr-x 1 root wheel 17294 Feb 18 17:10 java* -rwxr-xr-x 1 root wheel 55704 Feb 18 17:10 java_g* -rwxr-xr-x 1 root wheel 13039 Feb 18 17:40 java_vm* -rwxr-xr-x 1 root wheel 45768 Feb 18 17:41 java_vm_g* -rwxr-xr-x 1 root wheel 18351 Feb 18 17:10 javac* -rwxr-xr-x 1 root wheel 58757 Feb 18 17:10 javac_g* -rwxr-xr-x 1 root wheel 18351 Feb 18 17:34 javadoc* -rwxr-xr-x 1 root wheel 58757 Feb 18 17:34 javadoc_g* -rwxr-xr-x 1 root wheel 18319 Feb 18 17:13 javah* -rwxr-xr-x 1 root wheel 58725 Feb 18 17:13 javah_g* -rwxr-xr-x 1 root wheel 18351 Feb 18 17:33 javap* -rwxr-xr-x 1 root wheel 58733 Feb 18 17:33 javap_g* ~,5:12pm> cd ~,5:12pm> mozilla INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 < System error?:: No such file or directory Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0. INTERNAL ERROR on Browser End: Could not read ack from browser System error?:: Resource temporarily unavailable Have you guys got anything in your environment like JAVA_HOME or CLASSPATH set? My environment is pretty empty, and doesn't set either of those. -- Jonathan Chen ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message