I want to install Java EE 6 on a RedHat machine. The machine is actually an AWS AMI. I have installed JDK succesfully but when I try to install Java EE, the console tells me I hace to set the DISPLAY environment variable. I have googled for a while and found that Java EE can only be installed with an X server running(hence the DISPLAY variable). I have no idea how to install this as a linux AMI doesn't have a X Window environment (correct me and illustrate me if I'm wrong). How can I get through with this?
Thanks
P.D: I set the DISPLAY variable just to see what happens with no luck
...
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.openinstaller.core.EngineBootstrap.main(EngineBootstrap.java:208)
SEVERE INTERNAL ERROR: Can't connect to X11 window server using '10.98.135.210:0.0' as the value of the DISPLAY variable.