I have been trying to run a jar. There is a manifest file in it. I have 2 other external jars that are to be used by my application namely log4j.jar and db2jcc.jar. It is throwing a NoClassFoundException saying that the Logger class cannot be found. What am I supposed to add in manifest file. (Carriage Return has been properly given). Am i supposed to add something in the class path.
As you can see we use JAI and JTDS. The JAR files for these are in a folder named "lib" which is in the same directory as the executable JAR. The classpath MUST be set in the manifest, the environment variables and -cp option will be ignored when you use -jar.