Okay, This problem is coming because I don't have X server on Linux
machine.
I was searching through Simple Captcha forum and found below
solution..This might need a new build...
Comment the following lines in DefaultWordRenderer.renderWord()
//GraphicsEnvironment ge =
GraphicsEnvironment.getLocalGraphicsEnvironment();
//GraphicsDevice gd = ge.getDefaultScreenDevice();
//GraphicsConfiguration gc = gd.getDefaultConfiguration();
JDK1.5 doesn't need GraphicEnvironment to create bufferedImage.
Thanks
Raghu