Do you mean by running it as an external process? See Runtime.exec and
When Runtime.exec() won't - JavaWorld

If you just want to use its classes, add the jar to the classpath