From owner-freebsd-questions Wed Feb 26 12:24:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA00843 for questions-outgoing; Wed, 26 Feb 1997 12:24:10 -0800 (PST) Received: from yogurt.apg.more.net (root@yogurt.apg.more.net [198.209.250.150]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA00838 for ; Wed, 26 Feb 1997 12:24:06 -0800 (PST) Received: (from spaul@localhost) by yogurt.apg.more.net (8.8.2/8.8.2) id OAA08561 for freebsd-questions@freebsd.org; Wed, 26 Feb 1997 14:23:52 -0600 (CST) From: Paul Saab Message-Id: <199702262023.OAA08561@yogurt.apg.more.net> Subject: Re: No BSD Communicator 4.0? To: freebsd-questions@freebsd.org Date: Wed, 26 Feb 1997 14:23:51 -0600 (CST) X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Java doesnt seem to want to work for me either. Funny, last night I > > > downloaded the Linux version because I saw no BSD version. Everything > > > worked fine, including Java.. All I had to do was extract everything into > > > one directory... oh well. :( > > > > I found that if you unset the CLASSPATH environment variable then java > > will work. > > Umm, where should I put Java4_0 ?? This is what the variable points to... Usually I install all the files in /usr/local/lib/netscape and then put the netscape binary in /usr/local/bin. In the README for netscape it says the following about java: Java Applet support is available for all Unix platforms. To run Java applets with the Java-enabled version, the Navigator needs to be able to load Java class files from a file called java_301. This file is included in the distribution, but must be moved to any of these directories: The current directory /usr/local/netscape/java/classes /usr/local/lib/netscape $HOME/.netscape To play around with 4.0 on machines I do not have root on I just run it out of a directory in my home directory where it can load the class library but I still have to unset my CLASSPATH environment variable to get java to work. This is what I do to launch netscape so java works correctly: ------------ #!/bin/sh CLASSPATH=/usr/local/lib/netscape4/java_40 NETSCAPE=/usr/local/bin/netscape4 export CLASSPATH NETSCAPE exec $NETSCAPE ------------ Paul Saab spaul@more.net