improve JVM integration