Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Re: Classpath when running with the -jar option? (http://www.velocityreviews.com/forums/t123890-re-classpath-when-running-with-the-jar-option.html)

Phil Hanna 06-30-2003 11:30 PM

Re: Classpath when running with the -jar option?
 
On Mon, 23 Jun 2003 08:02:48 GMT, "Sergio Juan"
<haraekemi@hotmail.com> wrote:

>Hi.
>
>I have an application in a single jar that works fine. Now I'm adding some
>jars for validations (jakarta validation and oro) and once the jar is
>compiled I cannot find how to pass the classpath to the execution command.
>


In the manifest of your jar file, add a Class-Path line:

Class-Path: jar1.jar jar2.jar ...
--
Phil Hanna
Author of JSP 2.0: The Complete Reference
http://www.philhanna.com
http://www.philhanna.com


All times are GMT. The time now is 04:41 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.