Quick-start¶
Prepare¶
Test if Java 11, 17, 21, or 25 is installed:
Download the file jarhc-<version>-app.jar from the latest release of JarHC and rename it to jarhc.jar.
Test if JarHC can be started:
Analyze¶
Run a JarHC analysis:
java -jar jarhc.jar \
--classpath <artifact> \
--provided <artifact> \
--runtime <artifact> \
--sections "-jm,m,ob" \
--ignore-missing-annotations \
--title "Title" \
--output report.html
Compare¶
Compare two JarHC reports: