Problem running under Linux/Tomcat

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

Problem running under Linux/Tomcat

Post by Oliver Jonas » Wed Oct 23, 2002 5:16 pm

Hi,

I tried running the JFreeChart package under Linux/Tomcat 4.1.12 setup (J2SDK1.4.1) and get the error:

java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

When trying the same again without restarting the VM I get:

java.lang.NoClassDefFoundError
at com.jrefinery.chart.ChartFactory.createPieChart(Unknown Source)

All this works fine under Windows/Tomcat environment.


Do I need to modify the DISPLAY env. variable? If so, how? Also, why doesn't it find the class thereafter. I've seen that you have separate Windows and Linux downloads but I assume that this is packaging only, right?

Thanks a lot for your help.

Oliver Jonas

Re: Problem running under Linux/Tomcat

Post by Oliver Jonas » Wed Oct 23, 2002 5:23 pm


Dave Gilbert

Re: Problem running under Linux/Tomcat

Post by Dave Gilbert » Wed Oct 23, 2002 5:48 pm

Just a hint: the software that runs the forum lets you make hyperlinks by enclosing the URL with (url) and (/url) but using SQUARE brackets not ordinary brackets. Like this:

http://www.object-refinery.com/phorum-3 ... 836&t=4818

Regards,

DG

Locked