Java 6 version for jalmus