简体   繁体   中英

How to set the classpath for the set of jars which has the different main class

Can any one suggest me how to set the classpath for the set of jars which has the different main class?

Thanks in advance

You can use:

export CLASSPATH=/somePath/jar/firstJar.jar:/someOtherPath/jar/secondJar.jar

Without you giving more details, this is the only sensible answer to your question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM