Switch adapter implementations to Java.