com.sun.deploy.jardiff.JarDiff - Compare JAR Files

Q

How to run "com.sun.deploy.jardiff.JarDiff" program from JRE deploy.jar file?

✍: FYIcenter

A

"com.sun.deploy.jardiff.JarDiff" program allows you to see differences of 2 given JAR files.

"com.sun.deploy.panel.ControlPanel" program is stored in the lib\deploy.jar JAR file JRE 1, 2, 3, 4, 5, 6, 7, 8, 9 , 10 and 11.

You can run the "com.sun.deploy.jardiff.JarDiff" program using the lib\deploy.jar JAR file as described below using JDK 11 as an example:

C:\fyicenter>set JRE_HOME=\fyicenter\jre-11.0.1

C:\fyicenter>%JRE_HOME%\bin\java -cp %JRE_HOME%\lib\deploy.jar com.sun.deploy.jardiff.JarDiff

JarDiff: [-nonminimal (for backward compatibility with 1.0.1/1.0] 
   [-creatediff | -applydiff] [-output file] old.jar new.jar

 

com.sun.deploy.panel.JreLocator - Locates Installed JRE

com.sun.deploy.panel.ControlPanel - Java Control Panel

Tools Supported from JRE JAR Files

⇑⇑ FAQ for JDK (Java Development Kit)

2019-10-26, 240👍, 0💬