Are you running from the directory that the jar is stored in?
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Joined: Jul 30, 2004
Thanks for the help guys, but unfortunately still no luck. I did try as you suggested Stefan, using the following manifest in mainapp.jar :
Main-Class: com.efinery.RunTest Class-Path: test.jar . <a blank line here>
Marilyn, as you asked, you I am running from the directory that contains the jar. Also in the same directory is the original test.jar that is also inside mainapp.jar. I should say that mainapp.jar contains no java code, only some documentation and source code. I simply want the mainfest in mainapp.jar to run the manifest in the nested test.jar.
Marilyn de Queiroz
Joined: Jul 22, 2000
It sounds like you are trying to display the manifest. I think that will never happen. What if you put the text as a constant String inside a class in the jar and do a System.out.println() on it, jar it, and then run it.