Make Java-based Apps Play Nice with Vista

vistabasic.png
If you've tried to run certain Java-based applications on Vista with the Aero user interface eye candy enabled, you might have received the following error message: "The color scheme has been changed to Windows Vista Basic". This is because older versions of Java don't play well with Vista's Aero Glass user interface.
If you'd like to eliminate this annoyance, you have a couple of choices, but the first thing you need to do is install the latest and greatest version of the JRE (Java Runtime Environment) from java.sun.com. Then:


  1. If the software you're using has a "Java not included" option, install that instead. You might have to follow some extra instructions to set it up (such as setting a JAVA_HOME environment variable), but when you're done, everything should work fine.
  2. Dig into the software you've installed, and look for a java or jre subfolder. You'll need to find your JRE installation (check C:\Program Files\Java\jre1.6.0). Copy everything from there into the misbehaving software's (Processing in the following example) jre folder. Here's how it's done at the command prompt, but you could rename java to java.old and copy the new JRE in using Windows Explorer as well:

    C:\>cd \processing-0123

    C:\processing-0123>ren java java.old

    C:\processing-0123>xcopy /s "\Program Files\Java\jre1.6.0" java
    Does java specify a file name
    or directory name on the target
    (F = file, D = directory)? D
    \Program Files\Java\jre1.6.0\COPYRIGHT
    \Program Files\Java\jre1.6.0\LICENSE
    \Program Files\Java\jre1.6.0\README.txt
    ...



However you decide to do it, the next time you run the troublesome app, it should now appear in all its Aero-enabled glory!

Posted by Brian Jepson | Jan 30, 2007 04:06 PM
Java, Windows | Permalink | Comments (0) Bookmark and Share

Recent Entries

Comments

Newest comments listed first.

Leave a comment



Bloggers

Welcome to the Hacks Blog!

Brian Jepson.Brian Jepson


Jason Striegel.Jason Striegel


Philip Torrone.Phillip Torrone



See all of the books in the Hacks Series!
Advertise here.

Recent Posts

www.flickr.com
photos in Hacks More photos in Hacks

Most read entries (last 30 days)