----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Hi Jon,

I am trying out the sample code to generate a GIF file given in Hunter's
book. It compiles fine BUT  gives me a server_error when trying to run from
the browser.

I have set my DISPLAY environment correctly. A X server is running. I
checked that.

I am running ApacheJServ-1.1.1 and JSDK 2.0.

The log file has the following error message:

Servlet Error: java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit:
sun/awt/motif/MToolkit


I found a few suggestion in some news group to set the display to 0.0
and re-starting the X server and manually start JServ.

I have not been very successful in re-starting the Xserver. I am running
Solaris.

Any hints will be appreciated.



--
--------------------------------------------------------------
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