6 Replies Latest reply on Jul 22, 2010 12:42 PM by EJP

    JAR with the dependent JAR's for an application


      I am creating a JAR file for my application(TestApp)) which is going to be used by another application in a remote machine. In my JAR I am packaging the dependent JAR's of my application like log4j.jar,etc. The same has been specified in my manifest.mf file with the class path and the main class.

      But in the remote machine, when i reference my application JAR file (TestApp)) by coping that in the build path, it is not able to pick the dependent JAR like log4j.jar? Eventhough it is compressed in my application JAR file(TestApp)? Hence whether the remote machine should have the log4j.jar in the machine explictly to use it or Is there any way to get it working without the remote machine having the dependent JAR's?