Completed java interop
Completed partitioning