By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,651 Members | 1,316 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,651 IT Pros & Developers. It's quick & easy.

not able to set classpath for a jar file which doing the compress operation globally.

P: 1
I create a java program using DeFlaterInputStream 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
Mar 4 '12 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
Does the program take the file path as an argument?
Are you passing the full path of the file to the program?
Mar 5 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.