Mir2 by java