NullPointer on parseCustomTimeZone in debian

I'm running the ia32-sun-java6-bin JVM on a debian machine, because I don't want to use the 64 bits JVM (uses way less memory). The problem, however, is that I'm getting requent nullpointer exceptions on at java.util.TimeZone.parseCustomTimeZone( As well as ERROR M2EEjava.lang.NoClassDefFoundError: Could not initialize class org.apache.xmlbeans.GDate at org.apache.xmlbeans.XmlCalendar.<init>( Does anyone know how to solve this problem? Using the 64-bits default JVM is a workaround, but I'd rather use the 32-bits version.
1 answers

This is because of a bug in the debian java package. The 64 bit java version does not suffer from this.

If you do want to use the 32 bits JVM from sun, you should use the following java option: