Classpath issue with java -jar
- by portoalet
Hi,
I have an executable jar Client.jar that requires jndi.properties file.
Since the jndi properties is not part of the Client.jar, and java -jar ignores the -classpath argument,
How can I execute the jar and let it know where the jndi.properties is?
Thanks