From: Ducret, G. (MSCI) <Gil...@ms...> - 2004-01-16 07:54:57
|
NB: this fix is available only if you use jdk 1.4. There are many description on how to fix this issue on the net. Gilles -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Ducret, Gilles (MSCI) Sent: Friday, January 16, 2004 8:53 AM To: jch...@li... Subject: RE: [jCharts-users] jCharts 0.7.5 on IBM SDK 1.3.1/WebSphere5.0 Hi, Your problem must be quite simple. Are you using jdk 1.4. I think you just have to put the following property when you Start websphere: java.awt.headless=3Dtrue This way you will be able to generate graphs on the server Side without needing a X11 server Gilles -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Gabriel Mihalache Sent: Friday, January 16, 2004 8:27 AM To: JCharts Users Subject: [jCharts-users] jCharts 0.7.5 on IBM SDK 1.3.1/WebSphere5.0 Hi! I'm a long time user of JCharts. I've usualy used it on Tomcat with the Sun JDK. For a current project I have to use it on WebSphere 5.0 on Linux. I use a Servlet to generate the charts, and I use its init() method to prepare the properties, etc. When I try to set the ChartFont I get a ClassDefNotFound because of a class called sun/awt/X11GraphicsEnvironment WebSphere can only run on the IBM SDK, which I assume lacks these sun.* classes. The machine is running a X server, although I'm not sure about the rights the websphere user has over it. A simillar confiration, but on Windows, works file. What can you recommend? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users=20 -------------------------------------------------------- =20 NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.=20 =20 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users=20 -------------------------------------------------------- =20 NOTICE: If received in error, please destroy and notify sender. Sender = does not waive confidentiality or privilege, and use is prohibited.=20 =20 |