Make sure you are not using .awt packages because if so you might run
into the problem that they require a valid DISPLAY environment
variable. (I just encountered a similar situation...)

Spencer


[EMAIL PROTECTED] (John Kozubik) writes:

> Hi.
> 
> We have a custom server that we wrote in java and runs on linux.  This
> custom server does nothing but open and close sockets and transfer a few
> bits of data here and there - needless to say it just runs off of the
> command line and that is all there is to it.
> 
> So, in the interest of building the most spartan and clean linux box I
> could, I reloaded the machine without any X-window support, X11, or any
> garbage like that that we will never need.
> 
> Now java does not work.
> 
> Could you please explain to us how we can run our java command line program
> without worrying about silly things like X11 printer libraries?  My
> programmer is under the impression that we MUST install all this GUI crap
> just to get out simple command line utility working.  I on the other hand
> think that this is an absurd conception.
> 
> Any information would be appreciated,
> 
> John
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to