Classpath tools : jcfind and JWhich

JavaDeep understanding of Java classpath is something that is too often neglected. I won’t write an article about classpath, internet is full of readings about it :

Here come JWhich and jcfind. Both are classpath reflection tools.

JWhich provides a command line interface and a Java api where jcfind only has command line interface and is written in python.

I prefer to use jcfind from the command line because it’s really faster than Which4j and the command line is more practical. In Java software, I use the JWhich API that is really easy to use. The big drawback of using Which4j from command line is that you must provide a full class name, using it’s API you can search for a class simple name.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s