You could use Fat Jar. Or you could just specify the classpath when you run the jar.