I create a java program using DeFlaterInputSt ream class, and change the .class file into .jar file. now my program working properly but not able to compress the files from outside the current working directory...

can u help me? how to compress any file using my own java program from anywhere from the system