Frequently Asked Questions - FAQ
Okay, let's get started:Question:
I am using the CUPS printing system under Linux, and CDox won't print!Answer:
This is a problem with Java/CUPS. Java apparently needs certain commands to enable printing, that are not part of some CUPS installations.Solution:
If you are using Debian GNU/Linux, try installing the cupsys-bsd package, which provides the needed commands. On other systems, there may be similar packages. If I remember correctly, the lpr/lp/lpq commands are at least needed and must be working.
When I start CDox, it immediately crashes and leaves a log file named hs_errxxxxx.log. What the hell?Answer:
This is not really an error in CDox, but rather an error with versions of the JRE/JDK like 1.4.0_03 and others. If you have a broken font on your machine, most programs won't notice it and simply skip it. Unfortunately, there seemed to be an error in the native code outside the virtual machine (libfontmanager.so or fontmanager.dll or something like that) that caused the VM to crash when accessing that font. Inside the Java language, there is no way to get around this, simply looking which fonts exist causes that crash.Solution:
There are two ways to solve it: try to check which font is the bad one and remove it (on my Debian box the freefonts package contained one of these fonts), or upgrade to Sun's 1.4.1 JRE or JDK, which apparently fixes this problem.