Updating the java.version property reported by IcedTea

Deepak Bhole dbhole at redhat.com
Tue Dec 1 13:35:36 PST 2009


Currently, IcedTea reports java.version to be 1.6.0_0

Applets can sometimes rely on it. For example, this one:


Right now, that applet fails as

'java.lang.StringIndexOutOfBoundsException: String index out of range: 8'

If I force java.version to be 1.6.0_16, it works fine. (1.6.0_16 is 8 in

What do others think about making IcedTea report 1.6.0_16 to match the update
number? If that is not possible, I can just make the plugin report it,
but it'd be nice to have the system itself do the right thing.

I would really like to see that applet working because it is a sort of
test for plugin installation, and if it fails, people assume that the
plugin is broken when it is not.


More information about the distro-pkg-dev mailing list