kohsuke/file-leak-detector — pull request #17 by raphw (2014-02-10 12:29:27+00:00)
Title: Replace use of property java.home by environment variable JAVA_HOME where the former points to a JRE and the later to a JDK. The JRE is not aware of the tools.jar.

java.home does not represent JAVA_HOME. For reference, see the list of Java properties: http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html

I found and fixed the bug after not being able to use the application from command line with Java 7.