Exception in thread \"main\" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at j
I think you are trying to run some utility or shell script from UNIX\LINUX which has some GUI. Anyways
SOLUTION: dude all you need is an XServer & X11 forwarding enabled. I use XMing (XServer). You are already enabling X11 forwarding. Just Install it(XMing) and keep it running when you create the session with PuTTY.