I want to add the classpath through a command line call. The call looks like this:
java -cp ..\conf -jar ..\lib\zpv-ekvkumsetzer-0.0.1-SNAPSHOT.jar
In the conf directory is an XML file that defines the application context and the log4j.properties file. But when I run this command, Java obviously can't find those two files, although I've added them to the class path.
I also tried specifying the absolute path of the conf directory, but it didn't work either.
Any hints?