Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a linux server where I want to run a jar file but when i run this its showing

at java.awt.GraphicsEnvironment.checkHeadless(
    at java.awt.Window.<init>(
    at java.awt.Frame.<init>(
    at java.awt.Frame.<init>(
    at javax.swing.JFrame.<init>(
    at Imagecrop.CropImage.<init>(
    at arrestcentral.ArrestData.<init>(
    at arrestcentral.ArrestpdfLink.<init>(
    at arrestcentral.ArrestpdfLink.main(

For this I would like to install

X server

for graphical view.

share|improve this question

closed as not a real question by Chris S, Ward, Caleb, Holocryptic, Tom O'Connor Jun 10 '11 at 15:59

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Information like which distro would really help someone answer this question. – Keith Stokes Jun 10 '11 at 2:39
We really need to know what distro you're using. Linux is a kernel, not an Operating System. – Chris S Jun 10 '11 at 2:58

In a Debian based distro, you should run (as root or with sudo): apt-get install xorg. This will give you an X server. In a newer Fedora/CentOS/RedHat distro, run yum groupinstall X\ Window\ System.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.