From owner-freebsd-questions Sat May 4 20:21:40 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA02542 for questions-outgoing; Sat, 4 May 1996 20:21:40 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA02483 for ; Sat, 4 May 1996 20:21:15 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id MAA09630; Sun, 5 May 1996 12:54:14 +0930 From: Michael Smith Message-Id: <199605050324.MAA09630@genesis.atrad.adelaide.edu.au> Subject: Re: Can't run Java applets... Please help To: root@edmweb.com (Steve Reid) Date: Sun, 5 May 1996 12:54:14 +0930 (CST) Cc: questions@freebsd.org In-Reply-To: from "Steve Reid" at May 4, 96 01:42:27 am 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 Steve Reid stands accused of saying: > > I've downloaded the Netscape 3 (Atlas) beta, and I'm fairly certain that > I have installed everything right. I downloaded the port and typed > "make", then moved the files to the places named in the PLIST file (maybe > I should have tried "make install" instead?) The browser works fine, but > it won't run java applets: You should have used 'make install'. > "Cannot allocate colormap entry for default background" This message is harmless, but it's not related to your problem. The problem you are mostlijkely experiencing is that XFree86 as shipped with FreeBSD has an incorrect fonts.dir file in /usr/X11R6/lib/X11/fonts/misc. # cd /usr/X11R6/lib/X11/fonts/misc # mkfontdir > At the bottom line where it sometimes shows scrolling text, there is the > message > > "Applet can't start: error: java.lang.UnsatisfiedLinkError: findSystemClass" Dunno that one. > I have the JDK, and I'm able to compile and run a simple HelloWorld > application. But when I try to run appletviewer on the demo applets, it > dies: > > Can't find shared library "Xm" (/usr/java/lib/i386/libawt.so) Looks like you need Motif; that's what the Xm library is. Also, I can't imagine anything being installed as /usr/java on a BSD system. > Can't find shared library "Xm" (/usr/java/bin/../lib/i386/libawt.so) > java.lang.UnsatisfiedLinkError: no awt in shared library path > [along with a bunch of other errors cauesd by not finding libawt.so] > > ldconfig -r shows that libc_r.so.2.2, libfakesys.so.1.0 and libc.so.3.0 > in the /usr/java/lib/i386 directory, but that's all. I don't know why > it would find those files but not libawt.so, which *is* in the same > directory as the other three. AFAIK, shared library names must conform to libname.so.major.minor, so 'libawt.so' is possibly not recognised by ldconfig. > | Steve Reid - SysAdmin & Pres, EDM Web (http://www.edmweb.com/) | -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[