Possible Duplicate:
Can I use the classpath to override a file in a jar that is being run?
I have an application that is packed into a runnable jar file, this application use several external jar libraries including them into the classpath. The list of libraries is specified into the manifest.mf file of the main executable jar.
I want to let the user override the classpath contained into the manifest.mf by specifying a classpath from the command line(for example -cp), but I can' t make it work.
Though i pass the classpath with the option -cp, the classpath in the manifest file is not overridden , is there a way to override a classpath contained in the manifest file ? How?