*BSD News Article 72421


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!nntp.coast.net!howland.reston.ans.net!swrinde!cs.utexas.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: <Dtsp2q.2IC@alisa.org>
References: <31D57FBD.41C6@zow.desy.de>
Date: Sun, 30 Jun 1996 04:13:38 GMT
Lines: 44

Olaf Manczak (Olaf.Manczak@zow.desy.de) wrote:
: Dear All,

: 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...

: May be somebody knows what's the reason/solution ?

: Cheers,

: -- Olavi

I had a problem a few months back with java applets and netscape. The following
solved my problem:

  > 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)