dcsimg
Can not run GUI based Testrunner
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   dattatray_gopi
Posted On:   Monday, March 31, 2003 09:56 PM

Can not run GUI based Testrunner I tried to run the following on solaris. java junit.awtui.TestRunner. But got the following error Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:124) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi ronment.java:63) at java.awt.Font.initializeFont(Font.java:262) at java.awt.Font. (Font.java:292) at    More>>

Can not run GUI based Testrunner
I tried to run the following on solaris.
java junit.awtui.TestRunner.
But got the following error
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window
server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:124)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:63)
at java.awt.Font.initializeFont(Font.java:262)
at java.awt.Font. (Font.java:292)
at

   <<Less

Re: Can not run GUI based Testrunner

Posted By:   Zac_Jacobson  
Posted On:   Tuesday, April 1, 2003 06:03 PM

This has nothing to do with jUnit, nor indeed with Java.

If you don't have your system set up to allow you to export GUI displays to your terminal, then a Java GUI won't be exported either.

About | Sitemap | Contact