mod on java converter