HotSpot VM is not looking at JAVA_FONTS environement variable to set 2D fonts directory in the system property.
>>Classic VM:hpi/src/system_md.c
>> /* Java2D properties */
>> sprops.graphics_env = "sun.awt.Win32GraphicsEnvironment";
>>
>> {
>> char buf[max(512, MAX_PATH+1)];
>> char *path = getenv("JAVA_FONTS");
>> if (path != 0) {
>> if (VM_CALL(jio_snprintf)(buf, sizeof(buf), "%s", path) != -1) {
>> v = sysNativePath(buf);
>> } else {
>> v = 0;
>> }
is not implemented in HotSpot.
>>Classic VM:hpi/src/system_md.c
>> /* Java2D properties */
>> sprops.graphics_env = "sun.awt.Win32GraphicsEnvironment";
>>
>> {
>> char buf[max(512, MAX_PATH+1)];
>> char *path = getenv("JAVA_FONTS");
>> if (path != 0) {
>> if (VM_CALL(jio_snprintf)(buf, sizeof(buf), "%s", path) != -1) {
>> v = sysNativePath(buf);
>> } else {
>> v = 0;
>> }
is not implemented in HotSpot.