code to make running Java easier