Wednesday, January 27, 2010

Java and VNC on Windows

Sometime between JRE 1.6.0 update 3 and 1.6.0 update 15, something changed.

I use a VNC program heavily, and was surprised to see all Java Swing GUIs become almost useless because they would never refresh through VNC. Yet at the same time Netbeans still worked fine over VNC.

I sought high and low, but what kind of search string would you use for this issue?

As a work around at the time, I set the JAVA_HOME to an older JRE, and updated some of my Java program shortcuts to use "C:\Program Files\Java\jre1.6.0_3\bin\javaw.exe"

Today I finally found the issue and fix.


This problem might occur with any other kind of Remote Desktop program, or perhaps it is just those that use a special video driver.

Oh and Netbeans seems to run under the latest JDK installed instead of the latest JRE. Guess I should update that sometime.

No comments:

Post a Comment