We are temporarily operating with limited features while we perform a website upgrade. Users cannot log in during this time.
We apologize for any inconvenience. We'll be back to full operation shortly.
loosejarDescriptionloosejar is a simple Java Agent that can be used to discover unnecessary jars lying on application classpath. It performs per classloader JVM heap analysis and displays its results. loosejar can be safely used during development, QA, UAT or even in production as it doesn't modify the state of the JVM at all and adds no overhead.
The usage is very simple:
Start your application or application server with -javaagent:loosejar.jar flag (loosejar.jar should obviously point to the correct path of the actual jar) Exercise your application to make sure that the classes get loaded into the JVM. Get loosejar analysis results via JMX console (open jconsole and run com.googlecode.loosejar.LooseJarMBean#summary() in MBeans folder) or on application shutdown (via regular console log). loosejar can only be used on Java 1.5 or higher JVMs.
loosejar 1.0.0 has been released!
MentionsEamonn McManus's Blog http://weblogs.java.net/blog/emcmanus/archive/2008/02/do_i_really_nee.html Fred Jean's Blog http://blog.fredjean.net/articles/2008/05/06/do-you-really-need-that-jar-file The project is developed and maintained by Kyrill Alyoshin.
Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.