Check a Java jar to make sure all the javac -target versions of
the class files are what you expect.
All Java source code is included.
java.exe -jar jarcheck.jar jartotocheck.jar 1.1 1.8
where jartocheck.jar is the name of jar to check.
It will check all the class files in it.
In this example:
1.1 is the lowest acceptable target version number.
1.4 is the highest acceptable target version number.
Currently, only version numbers 1.0, ...
and 1.8 are supported. The program does not currently test
minor version numbers.
Why would you use this utility? To make sure that a jar
intended to run under an old 1.1 JVM contains no classes
accidentally compiled with javac -target 1.5. Passing this
test does not guarantee the jar will work on an old JVM. The
jar still might use methods not bundled with old JVMs. This
should catch however, classes normally compiled with target
1.1 that were accidentally compiled with 1.5 as a side
effect of compiling some 1.5 class.
There is a similar program called JarLook available at
JarCheck is a free software application from the Help Tools subcategory, part of the Development category.
The app is currently available in English and it was last updated on 2014-03-23. The program can be installed on Java, Linux, Mac OS X, Unix, Win2000, Win7 x32, Win7 x64, WinServer, WinVista, WinVista x64, WinXP.
JarCheck (version 1.5) has a file size of 105.47 KB and is available for download from our website.
Just click the green Download button above to start. Until now the program was downloaded 334 times.
We already checked that the download link to be safe, however for your own protection we recommend that you scan the downloaded software with your antivirus.