Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 1999 22:04:55 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        kientzle@acm.org
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: JDK useless without Motif?
Message-ID:  <199903040504.WAA15880@mt.sri.com>
In-Reply-To: <36DE02B0.1174F13F@acm.org>
References:  <36DE02B0.1174F13F@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903040504.WAA15880>