cqwangdonghua wrote:
Since jar file is same as zip format file,so I can zip a src folder and change the filename to create a jar file
No, JAR is a compression format, which is indeed similar in that Zip is a compression format; JAR uses a different algorithm for compressing the files. You will either need to implement the JAR compression algorithm in your application or locate a library to do so. Check Suns website, as memory serves they have a lib you can use from C++. I believe the original respondent to your question provided you a link to Suns website. Good luck
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley: