Compare files .class Beyond Compare 4

22,077

Solution 1

Double clicking on a war file in Beyond Compare's 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 Compare's Text Compare.

Download page for file formats: http://www.scootersoftware.com/download.php?zz=kb_moreformatsv4

Note the Java class to source file format is only available for Windows, it isn't available for the Linux or Mac versions of Beyond Compare.

Solution 2

  1. Download Java Class to Source file format from http://www.scootersoftware.com/download.php?zz=kb_moreformatsv4

  2. In Beyond Compare, pick Tools | Import Settings.

  3. Fill in the downloaded filename, and click Next and proceed to finish.

Share:
22,077
pacio14
Author by

pacio14

Trying to do my best, as a Developer as a Person. Enjoy life! :)

Updated on July 19, 2022

Comments

  • pacio14
    pacio14 almost 2 years

    I'm using Beyond Compare 4 (4.1.9) in order to compare war files.

    I need to compare the files .class that I find in the several packages.

    1. How I can compare them using this product (Beyond Compare 4)?
    2. Otherwise there is another product which can compare war file and compile the .class files?