Solved java interop