java - Running jar with dependencies from a batch file -


i have generated jar using maven , want execute batch file different directory. jar has few dependencies dscribed in pom file.[but not in jar] wondering there way execute jar without causing classnotfoundexception? if run jar dependencies in runs fine, isn't bit wasteful package external jars in mine?

make batch modify classpath add needed jars it.

apassembler maven plugin may help.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -