run oddjob on linux without x11

General
henyo
2012-01-04
2013-05-28
  • henyo
    henyo
    2012-01-04

    could I run oddjob on linux without x11? when I run "java -jar run-oddjob.jar",I got some errors as below :

    file:/root/ma/oddjob/explorer.xml:7, 83 java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    ==========================================================================================
    what can I do then?

     
  • Rob Gordon
    Rob Gordon
    2012-01-04

    Yes you can. Try:

    java -jar run-oddjob.jar -f server.xml

    Which won't try and start Explorer which is what needs X11.