JarLook

Check that class target versions are as expected in a Java jar.

Check a Java jar to make sure all the javac -target versions of the class files are what you expect. Java application. Requires Java version 1.5 or later. All Java source code is included. to use: java.exe -jar jarlook.jar jartotocheck.jar 1.1 1.4 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, 1.1, 1.2, 1.3, 1.4, 1.5 and 1.6 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 JarCheck available at mindprod.com/products1.html#JARCHECK

Minimum requirements: Java 1.7+

Operating system: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x64,WinXP

Program URL: http://mindprod.com/products1.html#JARLOOK

JarLook screenshot

...

Special permissions

You may include the JarLook on any CD compilation.

EULA

This program is for non-military use only. For details on what that licencing restriction means and why I restricted this software that way, see http://mindprod.com/contact/nonmil.html If you incorporate any of my code in your programs, they too must be marked for non-military use only. However it is not your responsibility to enforce that restriction.

Read more