java -cp lib/*;conf/;batch.jar;../classes cn.com.Application
separator:
for windows;
For linux:
parameter |
Description |
lib/* |
Represents all jar files in the lib (current) directory under the same level directory |
conf/ |
Represents all configuration files (.properties,.xml,...) in the conf directory under the same level directory |
batch.jar |
Represents a single jar file in the same directory |
../classes | Represents all .class files in the classes directory under the parent directory |
cn.com.Application | Start class |