Java shell finished