Nathan Meyers wrote:
> No, this won't work.
I didn't think it would!
> Environment variables are associated with Unix processes and passed to
> child processes. You can't really set one "just for the servlet", you need
> to set it for the Unix process under which the servlet is running -
> meaning the JVM.
But isn't this a bit crap? I mean, does this mean that all java
processes running on a Linux box (whether they be servlets or
applications) have to share the same DISPLAY settings?!
>> java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
>> at java.lang.Class.forName0(Native Method)
> You're right, that's not the message you'd see with an unset DISPLAY
> variable. That class should be in rt.jar... I wonder why you're not
> finding it.
Mmm indeed! Oh dear, this process seems to be a never-ending
journey of fixing one problem and then crashing into another brick
wall!
Can't wait for the final release of 1.2...!
Robbie
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]