Hi.
I'm creating a jar file using the following format:
jar cmf existing-manifest jar-file input-file(s)
The input file in my case is the class file, which is set in a certain package. There are two problems:
1. the package is called: my.package.util, meaning it has 3 directories and the class is under the util directory. I want to create the jar so that at the end of the process inside the jar file there'll be the three directories and under util the class file. Now i can get it so that under the jar there's the actual class or that there are a whole lot of directories starting from C:\... and ending with ..\my\package\util\the class file
2. currently i'm having no luck running the jar file (and yes, the manifest has a main-class header), so if anyone got ideas just how to make that happen i'll appreciate it

Should mention that everything is being done through another java program in the default package using the runtime.exec() method and not directly through the cmd.
Thanks.