Thanks for all the replies. I'm trying to just JAR up my program and include the classpath to the other JAR file in the manifest so that all someone has to do is drop both of them into the same directory. However, I'm running into this problem:
C:\code\uploadsdownloads>java -jar UploadsDownloads.jar
Exception in
thread "main" java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPConnectionClosedException
The commons-net-1.2.2.jar containing all that FTP code is in the same directory as the JAR I'm trying to run, and the manifest looks like this:
Manifest-Version: 1.0
Main-Class: UploadsDownloads
Class-Path: ./commons-net-1.2.2.jar
What am I doing wrong? I also tried it with this:
Class-Path: commons-net-1.2.2.jar
