FULL PRODUCT VERSION :
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When installing Java 6 JRE (I have tried update 16 and 15) using the offline installer or the kernel installer charsets.jar is available
But if I use the online installer "Windows Online Installation" charsets.jar isn't being installed on Windows XP
It installs on Windows Vista.
The installer from java.com is the online installer, so if my customers update from java.com, my application breaks.
Why is there a difference between XP and Vista?
Is there a way to get the online installer to download character sets on Windows XP?
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start Windows XP
Install JRE using online installer ie from java.com
Check to see that charset.jar is available
Like Charset.forName("IBM01142");
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No Exception
ACTUAL -
Exception is thrown
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.nio.charset.UnsupportedCharsetException: IBM01142
at java.nio.charset.Charset.forName(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class TestCase {
public static void main(String[] args) {
java.nio.charset.Charset.forName("IBM01142");
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Install using Kernal Installer or the offline installer or use Windows Vista or WIndows 7