Say we can also write commands in java