Menu

Multivalent on Lunix

Tools
2004-10-18
2013-04-29
  • goldenretriver

    goldenretriver - 2004-10-18

    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.

     
    • Tom Phelps

      Tom Phelps - 2004-10-19

      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.

       
    • Leena

      Leena - 2004-11-15

      I am also facing this problem. Did you fix that?

      Regards,
      Leena

       

Log in to post a comment.