Click Next and then Finish.
In this post we will know how to use Beyond Compare for Jar file comparison
Search and Download Beyond compare 2. I downloaded Beyond Compare 2.4.3
Install the software. Now visit Additional File Viewer Rules for Beyond Compare 2 and download java class rules file
Click Next and Finish, thats it. Now you can compare jar files
Double clicking on a war file in Beyond Compares folder compare will expand it as a folder because war files are essentially zip files.
To decompile Java class files to source code in Beyond Compare, install the Java Class to Source file format. With the file format installed, when you double click on a .class file inside a .war archive, it will display the decompiled source code in Beyond Compares Text Compare.
Download page for file formats:
Note the Java class to source file format is only available for Windows, it isnt available for the Linux or Mac versions of Beyond Compare.
I recently came across the need to compare class files in Beyond Compare 4 and so I found that adding an external program and using javap -l -p -c -constants %s > %t 2>&1 was enough for me. Just make sure a reasonably recent javap is one the PATH that understands any of the class file formats youd want to compare. No extra software required and is cross platform compatible.
Users can share File Formats by exporting and importing them. If you develop a File Format you wish to share, please send it to us. Also include any example files that should use your File Format.
How to Add New File Formats