----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Mattias Malmgren wrote:
> ...
> If I from the command line enter
> xhost +
> I get this error instead:
> 
> java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
>         at java.lang.Throwable.fillInStackTrace(Native Method)
>         at
> org.apache.jserv.JServConnection.run(JServConnection.java:349)
> 
> I understand that this is something with the environment. How can
> I fix it? I am using Apache 1.2.6 on a UNIX, Sun solaris 2.6 system.
> 
>  / Mattias

<guess>
Make sure you have the X11 and Motif libraries in your LD_LIBRARY_PATH,
it looks like it might not be finding a motif lib that the motif-awt
depends on (at least to me, anyway).
</guess>

-- 
Pat O'Neil - [EMAIL PROTECTED]

"Linux, where you want to BE, when Windows(tm) tells you where to GO!


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to