From owner-freebsd-java Wed Mar 3 21: 6:10 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id BFBA214DA4 for ; Wed, 3 Mar 1999 21:05:22 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA20040; Wed, 3 Mar 1999 22:05:05 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA15880; Wed, 3 Mar 1999 22:04:55 -0700 Date: Wed, 3 Mar 1999 22:04:55 -0700 Message-Id: <199903040504.WAA15880@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kientzle@acm.org Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK useless without Motif? In-Reply-To: <36DE02B0.1174F13F@acm.org> References: <36DE02B0.1174F13F@acm.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Okay, I downloaded and installed JDK 1.1.7 from > www.freebsd.org/java > > If I try to use any AWT calls, I get a link failure: > > Undefined symbol "_xmDrawingAreaWidgetClass" in > java:/usr/local/app/jdk-1.1.7/jdk-1.1.7/lib/i386/green_threads/libawt.so > (libawt.so) > > If I recall correctly, _xm is part of Motif. Yep. Is your 'DISPLAY' environment set? If not, you must set it in order for X to display the GUI portions of your code. (If this is happening because you are using appletviewer to display your program, then checkout the archives for a fix for this.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message