Server setup
In order to setup WebCharts3D on the server, you need to make WebCharts3D classes available for the web server. There are multiple ways to do so, but with most web servers you can simply copy jar file to WEB-INF/lib folder of your applications. WebCharts3D includes wcruntime.jar located in WEB-INF/lib folder of the installation directory that can be used instead of wc50.jar. This file is a stripped down version of wc50.jar and does not contain the designer classes.
NOTE. If you are planing to use this software on a Linux/Solaris/Unix box that does not have X-Windows running, you need to change Java VM launch parameters in your server configuration file by defining:
java.awt.headless=trueYou will need to restart the application server for the settings to take effect.
The code snippets produced by the Designer require additional files to be made available for the web server:
java -jar wc50.jar -config <webcharts3D.xml location>