network-java: moved out the Java interop facility.