From owner-freebsd-questions Fri Mar 26 5:51:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dartagnan.maths.adelaide.edu.au (dartagnan.maths.adelaide.edu.au [129.127.44.41]) by hub.freebsd.org (Postfix) with SMTP id 2154614C10 for ; Fri, 26 Mar 1999 05:51:34 -0800 (PST) (envelope-from glewis@dartagnan.maths.adelaide.edu.au) Received: by dartagnan.maths.adelaide.edu.au (5.64+1.3.1+0.50/UA-5.19) id AA15008; Sat, 27 Mar 1999 00:21:01 +1030 From: Gregory Lewis Message-Id: <9903261351.AA15008@dartagnan.maths.adelaide.edu.au> Subject: Re: O'reilly's Networking Bookshelf In-Reply-To: <19990325232814.A13501@ethereal.net> from Jamie Norwood at "Mar 25, 99 11:28:14 pm" To: mistwolf@ethereal.net (Jamie Norwood) Date: Sat, 27 Mar 1999 00:21:00 +1030 (CST) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1513 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Jamie, > I recently picked up this fine set of books from O'reilly, and > was wondering if anyone had gotten their little java program > to run? I installed the JDK port, and then ran the 'runme.sh' script, > and get: > > 11:23pm Thu Mar 25 1999 on ttyp1 diarmadhi:/home/mistwolf/work> sh run_me.sh > Detecting OS_VER ... FreeBSD > Can't find shared library "libX11.so.6.1" (libawt.so) Do you have X installed? Do you have the aout compatibility versions of the X libraries installed if you are running 3.1 or 3.0-ELF (the jdk is currently aout only, although this is likely to change very soon)? Does ld.so know to look in the appropriate directories for these libraries? > java.lang.UnsatisfiedLinkError: no awt in shared library path > at java.lang.Runtime.loadLibrary(Runtime.java) > at java.lang.System.loadLibrary(System.java) > at > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:394) > at java.awt.Font.initializeFont(Font.java:106) > at java.awt.Font.(Font.java:121) > at itm.nr.serve.$141.(Unknown Source) > at itm.nr.serve.$160.(Unknown Source) > at itm.nr.serve.NRServer.main(Unknown Source) > Exception in thread "main" If this doesn't get you going, try asking on java@freebsd.org. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 3237 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message