![]() Version 1 remained stable and unchanged for many many years, but an alert user noticed a bug in the file selection dialogs (thanks, Greg!). Or you can also give it the two files to compare straight away: java -jar jarcomp_02.jar file1.jar file2.jar What's new? ![]() You can also run it from the command line, just by giving the path to the jarcomp.jar file: java -jar jarcomp_02.jar Then the tool will prompt for the two files to compare. Depending on your system settings, you should be able to just double click the jar file to run it, or right-click and select to run it. This checker tool runs using a standard java gui. JAVA FILE COMPARISON TOOL DOWNLOADJarcomp_02.jar - Complete tool including source codeīefore you run it, download the jar file above and save it to your machine. Therefore for these two files the status is not "=" (meaning identical), but "Changed sum", indicating that the size is the same but the contents are not identical. In this example, the file GpsPrune.class has the same size in both files, but nevertheless the files are different - this was deduced by pressing the "Check Md5 sums" button to calculate all the Md5 checksums of the files within each archive. Files may have changed size, in which case the size change in bytes is shown in the third column of the table. Files may have been added or removed, or be present in both files. In the table, each file is shown and the status of whether the file has changed or not between the two archives. Note that it's possible for two jars to have the same size but different contents, and also to have different sizes but identical contents. Below this the comparison is summarized, saying whether the files have the same size or not, and whether the contents are the same or not. The two files (in this case releases of GpsPrune) are summarized at the top, showing the file sizes in bytes and the number of files within each one. The screenshot to the right shows an example of comparing two jar files. Screenshot from a Linux system showing a comparison of two jars Screenshot
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |