*BSD News Article 72766


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!news.uoregon.edu!vixen.cso.uiuc.edu!uwm.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!nntp-xfer-1.csn.net!alisa.org!wjjr
From: wjjr@alisa.org (John J. Rushford)
Subject: Re: Netscape and JAVA
X-Newsreader: TIN [version 1.2 PL2]
Organization: My place on the Front Range.
Message-ID: <DtznI0.GCt@alisa.org>
References: <31D57FBD.41C6@zow.desy.de> <31D632DA.2781E494@telstra.net> <4rbbmr$anq@shelby.visix.com>
Date: Wed, 3 Jul 1996 22:22:48 GMT
Lines: 71

Steve Kiernan (stevek@visix.com) wrote:
: In article <4raoal$68b@emerald.silicon.net>,
: 	chris@Silicon.NET (Christopher Ellwood) writes:
: >In comp.unix.bsd.freebsd.misc, Wayne Farmer wrote...
: >>Olaf Manczak wrote:
: >>> I have a strange problem: I am running netscape (3.0b5 but it happens
: >>> with 2.02 as well) on a FreeBSD 2.1.0 machine and whenever a Java
: >>> applet is being loaded an error message(s)
: >>> 
: >>>    couldn't create AppletClassLoader for JavaScript
: >>> 
: >>> pop out and Java applet doesn't work.
: >>> However if I just set DISPLAY to an old crappy DEC Station screen
: >>> everything works fine...
: >>
: >>I concur - I get this all the time as well.  Don't know either.
: >>I can not get any java sites at www.gamelan.con to work either - and I
: >>have moved/copied moz3?.zip to the correct place.
: >
: >I hate to say "me too", but I have been plagued by this problem as well.
: >I have tried moving, copying, and unzipping the moz3?.zip file in every
: >possible permutation, as well as tracing the execution of the netscape 
: >navagator itself, but to no avail.  If anyone has found a solution to
: >this problem, please let me know.
: >
: >Thanks,
: >
: >- Chris

: You need to recreate your fonts directories with mkfontdir.

: mkfontdir /usr/X11R6/lib/fonts

: (If I remember correctly.)

Correct!  I used the following procedure to fix this problem:

    In article <DqwsAA.IxF@alisa.org> you write:
    >I've downloaded the BSDI netscape 3 and am trying to get it to run java
    >applets on my FreeBSD 2.1 machine and have not been sucessful.  I've
    >put the moz3_0.zip file in every directory location that the README file 
    >mentioned.  I've also set XNLSPATH and XKEYSYMDB.  I can't get it to run
    >any java applets.  Has anyone else had any success?
    >

    If netscape is just leaveing a hole for the applet and not loading it the
    following fix may help:

    Alright...  This is the real thing (3 people have reported success with
    this one).  Apparently, XFree86 ships with an broken font database in
    /usr/X11R6/lib/X11/fonts/misc.  There are certain fonts in the database
    which don't exist in the directory, and apparently this is pissing off
    some of our Xservers (it looks like , the Xserver sends a bad request
    error to a Netscape thread that kills the Java applet).
    
    Here is the fix (as root):
            cd /usr/X11R6/lib/X11/fonts/misc
            /usr/X11R6/bin/mkfontdir
    
    Then you'll need to restart your Xserver (or just run "xset fp rehash" as
    the non-root user).


    Sujal

regards
-- 
John J. Rushford                                
Westminster, Colorado___/\_/\_                  
wjjr@alisa.org (alisa.org is powered by FreeBSD)