From owner-freebsd-java Thu Jan 7 16:30:23 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA02209 for freebsd-java-outgoing; Thu, 7 Jan 1999 16:30:23 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from mediaone.net (nvp.ne.mediaone.net [24.128.50.139]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA02197 for ; Thu, 7 Jan 1999 16:30:19 -0800 (PST) (envelope-from nvp@mediaone.net) Received: (from nvp@localhost) by mediaone.net (8.8.8/8.8.8) id TAA12123 for freebsd-java@freebsd.org; Thu, 7 Jan 1999 19:34:07 GMT (envelope-from nvp) From: "Nathan V. Patwardhan" Message-Id: <199901071934.TAA12123@mediaone.net> Subject: Undefined symbol "_xmDrawingAreaWidgetClass" To: freebsd-java@FreeBSD.ORG Date: Thu, 7 Jan 1999 19:34:04 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there, I'm receiving the following error when I try to run any of the JDK demo applets in /usr/local/jdk1.1.7/demo/... ; it seems like I need a Motif library, but ... For example: $ cd /usr/local/jdk1.1.7/demo/Animator $ appletviewer example1.html Undefined symbol "_xmDrawingAreaWidgetClass" in java:/usr/local/jdk1.1.7/lib/i386/green_threads/libawt.so (libawt.so) 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 sun.applet.AppletCopyright.(AppletCopyright.java:28) at sun.applet.AppletViewer.mainInit(AppletViewer.java:1030) at sun.applet.AppletViewer.main(AppletViewer.java:1039) Well, I checked out the FreeBSD mailing list archive for java-questions and the closest suggestion was that the $DISPLAY should be correctly set. I'm using an xterm with a $DISPLAY correctly set (i.e. I can open windows from my xterminal and other stuff), so I don't think that this is the problem. $ echo DISPLAY localhost:0.0 I'm running 2.2.7-RELEASE (STABLE by tonight or tomorrow) and jdk1.1.7.V98-12-21.tar.gz. I followed the instructions from www.freebsd.org/java before installing and all that stuff. FWIW, I'd had no problems (did not see this error) with any of the jdk1.1.6 releases. It would be swell if someone could drop a quick note. Thanks! -- Nate Patwardhan nvp@mediaone.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message