Sun has promised that Java will work with upcoming Windows Vista, following reports of compatibility problems.
"There were various areas where Vista had changed substantially from Windows XP that we needed to account for," said Chet Haase, architect for the Java desktop client group at Sun. But they're dealt with now, Sun said.
One of the more visible issues was with the Vista Aero Glass desktop manager, which provides a translucent graphical effect. The graphics sub-systems clashed with Java, and so Java engineers have performed a work-around.
"Some folks have noticed that when they run Java applets in the browser, that Aero and desktop composition would get disabled," Greg Schechter, software architect for the Windows Presentation Foundation at Microsoft, wrote in a recent blog.
The problem was attributed to Java locking the primary buffer, denying Desktop Windows Manager access to the resources needed to draw the desktop, Schechter said. Versions of Java prior to the eighth update of Java SE 5.0 will function with Vista, but they disable the Desktop Windows Manager.
Java Standard Edition 6 has received most of Sun's attention during the Vista beta release time frame, and it is where most of the fixes to the known problems reside, Sun's Haase wrote in a recent blog. "We encourage the breadth of the developer eco-system to target the world's leading development platform and are glad that the Java community sees the advantages of running applets on Windows Vista," said Jaye Roxe, Visual Studio group product manager at Microsoft.