I’ve received source code for a Java product to make further changes. The archive contains a bunch of JAR files.
Is it sufficient for developing the application, or those files for distribution only?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have really received the source code of a product, and all you’ve got is JAR files, then the JAR files (which are actually ZIP files with a different file suffix and a particular kind of “manifest”) should contain a bunch of files with the file suffix “.java”. You should be able to check this using any ZIP archive tool.
If there are no “.java” files in the JARs (e.g. only a lot of “.class” and other files), you do not have the source code for the product. Making changes will be really really hard, given that you are not a Java developer.
Assuming that you are doing this legitimately (i.e. with the explicit or implicit permission of the product’s developer) you will save yourself a lot of time if you can also get hold of the product’s build instructions. For example, if it is built using Ant, you want the “build.xml” file(s).