jenkinsci / lib-file-leak-detector

Java agent that detects file handle leak
http://file-leak-detector.kohsuke.org/
MIT License
241 stars 112 forks source link

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. #17

Closed raphw closed 10 years ago

raphw commented 10 years ago

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.

buildhive commented 10 years ago

Kohsuke Kawaguchi » file-leak-detector #28 SUCCESS This pull request looks good (what's this?)

raphw commented 10 years ago

Sorry, my bad. I missed the relative path in the tools location. There must be some other reason for the misfunction.