Exception in main

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Anu

Exception in main

Post by Anu » Fri Mar 07, 2003 8:26 pm

I get this exception in main while tring to run JFreeChartDemo on Solaris 8. My classpath includes all the 3 jar files and I use jdk1.3.1. Am I missing any patch for Solaris.

Thanks for any help.

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 sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)

David Gilbert

Re: Exception in main

Post by David Gilbert » Sat Mar 08, 2003 12:26 am

Take a look at this thread:

http://www.object-refinery.com/phorum-3 ... 805&t=2987

Regards,

Dave Gilbert

Locked