Shell running Java