From owner-freebsd-questions Tue Jan 27 08:35:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA16179 for questions-outgoing; Tue, 27 Jan 1998 08:35:52 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA16174 for ; Tue, 27 Jan 1998 08:35:45 -0800 (PST) (envelope-from sfarrell@phaedrus.uchicago.edu) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id KAA10335; Tue, 27 Jan 1998 10:35:32 -0600 (CST) Received: (from sfarrell@localhost) by phaedrus.uchicago.edu (8.8.8/8.8.5) id KAA21062; Tue, 27 Jan 1998 10:35:31 -0600 (CST) To: Guram Mosashvili Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Java->Netscape->FreeBSD References: From: stephen farrell Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 27 Jan 1998 10:35:31 -0600 In-Reply-To: Guram Mosashvili's message of "Tue, 27 Jan 1998 12:43:39 +0000 ()" Message-ID: <8767n57u3w.fsf@phaedrus.uchicago.edu> Lines: 38 X-Mailer: Gnus v5.5/XEmacs 20.3 - "Vatican City" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Guram Mosashvili 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