Java 1.5 and 1.6 compatibility for Windows Mobile