Does anybody tryed to run tool.doc.ExtractText on Lunix? I'm running it on Samba machine and when I'm trying to run Extract Text I got following message:
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:175)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
at java.awt.Font.initializeFont(Font.java:333)
at java.awt.Font.<init>(Font.java:368)
at multivalent.Behavior.<clinit>(Behavior.java:88)
at multivalent.Document.<init>(Document.java:206)
at multivalent.Document.<init>(Document.java:218)
at tool.doc.ExtractText.extract(ExtractText.java:87)
at tool.doc.ExtractText.main(ExtractText.java:340)
It works fine on Windows 2000. Isaw similar posting on this forum before, but it does not exactly explain how to solve the problem.
Any help is much appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Java fonts require a link to a display, and you must be trying to run it "headless" in a server. Or if there is a monitor attached, then Java can't interpret the value of the DISPLAY environment variable.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anybody tryed to run tool.doc.ExtractText on Lunix? I'm running it on Samba machine and when I'm trying to run Extract Text I got following message:
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:175)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
at java.awt.Font.initializeFont(Font.java:333)
at java.awt.Font.<init>(Font.java:368)
at multivalent.Behavior.<clinit>(Behavior.java:88)
at multivalent.Document.<init>(Document.java:206)
at multivalent.Document.<init>(Document.java:218)
at tool.doc.ExtractText.extract(ExtractText.java:87)
at tool.doc.ExtractText.main(ExtractText.java:340)
It works fine on Windows 2000. Isaw similar posting on this forum before, but it does not exactly explain how to solve the problem.
Any help is much appreciated.
Java fonts require a link to a display, and you must be trying to run it "headless" in a server. Or if there is a monitor attached, then Java can't interpret the value of the DISPLAY environment variable.
I am also facing this problem. Did you fix that?
Regards,
Leena