on 12-09-2005 5:45 AM
Hi Guys,
Can any tell me how to search a class file. I have a set of Jar files in which the required class file is there. But i don't know in which Jar file the class is. Is there any way to find out.
Regards,
Gowtham K.
Hi Gowtham,
A very simple approach that I prefer to make use of is the Windows Search functionality.
Simply right-click on the folder containing your set of jar files, choose "Search", enter the name of the class file (eg. xyz.class) in the field "Containing Text" and click the button "Search Now". The jar containing the class should be found. Make sure you dont enter any *s in "Containing Text" for the search since it will do a wild card search anyways.
Regards,
Rohini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everybody,
please be aware that classlocator is the only tool of the ones given in this thread which indexes the jar and therefor in a complex situation (as the EP implementation for example is) is <i>much</i> faster than any alternative. In addition, it is quite good integrated into NWDS (Eclipse 2.x) and helps to fill up the build path in seconds, inluding usage of build path variables.
Hope it helps
Detlev
Hi Gowtham,
Please refer the following link.
http://java.sun.com/docs/books/tutorial/jar/basics/view.html
This may help u to know the contents of ur jar file.
Regards,
Uma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gowtham,
Please download the Class locator from the following site. This will help to know what you are looking for.
<b>http://www.alphaworks.ibm.com/tech/jarclassfinder</b>
<b>http://sourceforge.net/projects/classlocator</b>
I hope this solves your problem.
Regards
Pravesh
PS: Please consider rewarding points for helpful answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.