I want to run my program in form of a jar file. I am using log4j in my program. when I try to run my jar it doesnot recognise log4j classes. How can I add my log4j dependency while making jar.
Thansk in advance
"Know where to find the solution and how to use it - that's the secret of success."
You need to include the log4j jar file in the classpath in the jar file manifest. See the manifest section of this for more information. [ December 12, 2007: Message edited by: Joanne Neal ]