Ever used a Java Swing app on Windows XP that seemed to freeze when you open a JFileChooser dialog? Apparently it’s caused by calls being made to Windows’ infamous integrated ‘compressed folders’ utility when files are recognized as archives.
The bad news is that every stable Sun JVM on Windows XP up to today suffers from this issue.
The good news that the issue has been f fixed in Java 1.6u10b07. Although I don’t presume to know the entire history of this bug, it seems a little sad to see this one was reported against release 1.4.2.
To fix on java versions predating 6u10b7, the only fix is effectively unregistering the zip folder dll from windows. Since I won’t quite use 6u10 until it’s GA and I’ve been a happy 7zip user on every OS I use for quite some time now I decided to go for the uninstall.
To unregister (and disable ‘Compressed Folders’):
regsvr32 /u %windir%\system32\zipfldr.dll
If you decide for some reason you can’t live without it and want to re-enable, execute again from a cmd :
regsvr32 zipfldr.dll
and you’ll be sending things to compressed folders before you know it