init prototype CLI in Java