Skip to content

Instantly share code, notes, and snippets.

View monoman's full-sized avatar
🔗
Interlocking...

Rafael Teixeira monoman

🔗
Interlocking...
View GitHub Profile
@monoman
monoman / jarcheck.bat
Created February 18, 2011 17:47
A replacement .bat that works on windows (NT 4 and up) for JarCheck http://www.softpedia.com/get/Programming/Other-Programming-Files/JarCheck.shtml
@echo off
echo ===============================================================================================================
set TOP=%1
if not "%TOP%"=="" goto scanning
set TOP=1.5
:scanning
echo Checking for java classes with versions higher than %TOP% in all .jar files in the current directory
del jarcheck.log
FOR %%j IN (*.jar) DO java.exe -ea -jar %~d0%~p0\jarcheck.jar %%~fj 1.1 %TOP% 2>> jarcheck.log > null
echo ===============================================================================================================