What does mean the error NO X11 DISPLAY?

Question ID : 207
Created on 2013-07-19 at 4:02 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=207



The error NO X11 DISPLAY means that for some reason isCOBOL try to access AWT/SWING GUI Interface and your system have not that.
If your cobol program have not any GUI interface included, you can try to set the java.awt.headless=true property on your run command:
iscrun -J-Djava.awt.headless=true .....
or
java -Djava.awt.headless=true .....

If your cobol program include some textual ACCEPT/DISPLAY you need to turn on isCOBOL CHARVA support adding -t option:
iscrun -J-Djava.awt.headless=true -t ....
or using the property
iscobol.guifactory.class=com.iscobol.gui.client.charva.GuiFactoryImpl with java:
java -Djava.awt.headless=true - Discobol.guifactory.class=com.iscobol.gui.client.charva.GuiFactoryImpl



Back to Original Question