1. add the dependencies to classpath
2. don't do a system exit