Skip site navigation (1)Skip section navigation (2)
Date:      27 Jan 1998 10:35:31 -0600
From:      stephen farrell <stephen@farrell.org>
To:        Guram Mosashvili <guram@parliament.ge>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Java->Netscape->FreeBSD
Message-ID:  <8767n57u3w.fsf@phaedrus.uchicago.edu>
In-Reply-To: Guram Mosashvili's message of "Tue, 27 Jan 1998 12:43:39 %2B0000 ()"
References:  <Pine.BSF.3.91.980127123933.4509D-100000@server.parliament.ge>

next in thread | previous in thread | raw e-mail | index | archive | help
Guram Mosashvili <guram@parliament.ge> writes:

> We have installed Netscape-3.04 FreeBSD-2.2.2, but unfortunately
> browser does not recornized the Java applets.
> We will appreciate it if someone skillful in FreeBSD and
> Netscape helps us.

How have you installed it?  If you did not use the "port", then this
is probably the root of your problem.  There are some things the port
takes care of for you...

Mostly, you want some kind of shell-script like this to start
netscape.  The port installs something likethis in
/usr/local/bin/netscape:

#!/bin/sh
export XKEYSYMDB ; XKEYSYMDB=/usr/X11R6//lib/X11/XKeysymDB
export XNLSPATH  ; XNLSPATH=/usr/X11R6//lib/X11/nls
export XAPPLRESDIR ; XAPPLRESDIR=/usr/X11R6//lib/X11/app-defaults
export CLASSPATH ; CLASSPATH=.:/usr/local/lib/netscape
exec /usr/local/lib/netscape/netscape.bin $*
#EOF

Also, the port would have read this to you:

Note: If Java applets fail to display.  Type this as root:
                cd /usr/X11R6/lib/X11/fonts/misc
                /usr/X11R6/bin/mkfontdir
                chmod 444 fonts.dir
      And then exit and restart your X server.

(actually "xset fp rehash" might work w/o restarting X server)


--

Steve Farrell




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