But my preference to deploy the program as a single file, so that the user can run it simply with:java myprogram [parameters] without having to set CLASSPATH.
You can try using the manifest Class-Path: http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html thanks, bryan