Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 17:16:56 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Joe Kelsey <joe@zircon.seattle.wa.us>
Cc:        Mark Evenson <evenson@panix.com>, Mike Gratton <mike@vee.net>, freebsd-java@FreeBSD.ORG
Subject:   Re: Mozilla plugin and native JDK 1.3.1p6.
Message-ID:  <20020219171656.A38032@grimoire.chen.org.nz>
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
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> <1014076903.59818.54.camel@zircon.zircon.seattle.wa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                                          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




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