How to search for a class to know it is in which Jar file

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,
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.

Similar Messages

  • How to search for available class in given package?

    How to search for available class in given package or sub package?

    Finally i did it. I make hibernate and spring without much configuration. I just pass the package pattern to search for all bean. I named it package pattern injection.
    My website is still under construction yet. It named Jimmy6 Framework.
    The code it just the following for all hibernate and spring bean for the whole project.
    <bean id="sessionFactory" class="com.j6.framework.JAnnotationSessionFactoryBean">
              <property name="annotatationOrHbmXmlPackagePattern">
                   <list>
                        <value>com\.j6\.project.+?\.vo\..+?</value>                    
                   </list>
              </property>               
    <bean id="autoBeanCreatorFactoryManager" class="com.j6.framework.resource.AutoBeanCreatorFactory">
              <property name="packagePatterns">
                   <list>
                        <value>com\.j6\.project\..+?\.manager\..+?</value>
                   </list>
              </property>
         </bean>
         <bean id="autoBeanCreatorFactoryDao" class="com.j6.framework.resource.AutoBeanCreatorFactory">
              <property name="packagePatterns">
                   <list>
                        <value>com\.j6\.project\..+?\.dao\.hibernate.+?</value>
                   </list>
              </property>
         </bean>Feel free to have a look and gv some comments. Thanks :)
    Regards,
    Jimmy6
    Edited by: jimmy6 on Nov 4, 2008 8:15 AM

  • How to search for a Class by incomplete name?

    Hello.
    Does anyone know if it is possible to get an instance of the Class object for a class that I don't have a fully qualified name for?
    For example, I want to get the object I would normally get by calling
    my.project.package.web.jsf.MyConstants.classexcept that I only have the "MyConstants" part of the name.
    Is it possible to somehow use the classloader to search for <i>my.project.package.web.jsf.MyConstants</i> class when I only have <i>MyConstants</i> to start with?
    Thanks.

    vace117 wrote:
    Besides, getting this to work is not really that important. At this point it mostly bothers me as a theoretical question. Can it be done?If you're asking whether it's possible to have a situation where you have two classes with the same name, but in different packages, and that the JVM can look at just the class name and figure out which of the two classes you really meant to use...well, sure, in that (I suppose) you could write something that would search the entire classpath looking for the matching classes, and then apply some heuristics with something like BCEL to try to guess which class you really meant to use. It'll be ugly code and it won't be foolproof, but if you really want it...there you go.
    Ultimately, there's a baseline of information that the JVM needs -- in this case the full name of the class. If you start with only partial information, you're going to have to provide some way to derive the full information. Information doesn't just pop into existence magically. The cleanest, easiest way to provide the information is to provide all of it to begin with. The second cleanest, easiest way is to prepend a standard package name. It gets uglier from there.
    You could do is design a custom classloader that specifies classes in a different way...but I suspect that you'd find that ugly as well.

  • How to search for a BADI in a transaction

    Hi All,
    Please let me know the steps to find a BADI for a transaction.
    Thanks,
    Jaffer Ali.S

    check this.
    u can find BADI's in different ways...
    1>First go to any transaction->iN THE menu bar SYSTEM->STATUS->Get the program name ->double click->u will go to the program attached to the tcode.Now search term will be CALL CL_EXITHANDLER.Now u will get list of BADI'S available..
    2>Goto SE24->Give class name as CL_EXITHANDLER->Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler.Now go to any transaction code and pass dat..U will see that it will be stopped on the break point which u set on the cl_exithandler...In the exit name u can find list of badi's attached to the tcode..
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    /people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    The simplese way for finding BADI is
    1. chooes Tcode Program & package for that Tcode.
    2. Go to Tcode se18
    3. Press F4
    4. search by package or by program.
    Regards
    Kiran Sure

  • How to search for a fields ?

    Hello,
    I know it's an easy question but I've not find, how to search for a fields in Database on CR XI R2 ?
    Thanks in advance

    Hi Alexandre
    Do you want to see which database fields you have inserted in Crystal Reports and in which section you have inserted what fields?
    If yes then
    -open formula editor
    -In the right side pane expand Formatting Formulas.
    -Expand all the sections one by one and it will show you database fields,formulas and all the objects used in the sections.
    Hope this will clarify your doubts.
    Regards
    Asha.

  • How to search for a particular word in a string?

    How to search for a particular word in a string?
    thanks for your help....

    This works fine.
    public class Foo {
        public static void main(String[] args) {
        String s = "Now is the time for all good...";
        String s2 = "the time";
        System.out.println(s.contains(s2));
        System.out.println(s.contains("for al"));
        System.out.println(s.contains("not here"));
    }output:true
    true
    falseYou must have something else wrong in your code.
    JJ

  • How to search for upper/lower case using string using JAVA!!!?

    -I am trying to write a program that will examine each letter in the string and count how many time the upper-case letter 'E' appears, and how many times the lower-case letter 'e' appears.
    -I also have to use a JOptionPane.showMessageDialog() to tell the user how many upper and lower case e's were in the string.
    -This will be repeated until the user types the word "Stop". 
    please help if you can
    what i have so far:
    [code]
    public class Project0 {
    public static void main(String[] args) {
      String[] uppercase = {'E'};
      String[] lowercase = {'e'};
      String isOrIsNot, inputWord;
      while (true) {
       // This line asks the user for input by popping out a single window
       // with text input
       inputWord = JOptionPane.showInputDialog(null, "Please enter a sentence");
       if ( inputWord.equals("stop") )
        System.exit(0);
       // if the inputWord is contained within uppercase or
       // lowercase return true
       if (wordIsThere(inputWord, lowercase))
        isOrIsNot = "Number of lower case e's: ";
       if (wordIsThere(inputword, uppercase))
         isOrIsNot = "number of upper case e's: ";
       // Output to a JOptionPane window whether the word is on the list or not
       JOptionPane.showMessageDialog(null, "The word " + inputWord + " " + isOrIsNot + " on the list.");
    } //main
    public static boolean wordIsThere(String findMe, String[] theList) {
      for (int i=0; i<theList.length; ++i) {
       if (findMe.equals(theList[i])) return true;
      return false;
    } // wordIsThere
    } // class Lab4Program1
    [/code]

    So what is your question? Do you get any errors? If so, post them. What doesn't work?
    And crossposted: how to search for upper/lower case using string using JAVA!!!?

  • How to search for a particular pattern in a string

    Hi,

    Hi ,
    How to search for a particular pattern in a string?
    I heard about java.util.regex; and used it in my jsp program.
    Program I used:
    <% page import="java.util.regex"%>
    <% boolean b=Pattern.matches("hello world","hello");
    out.println(b);%>
    I run this program using netbeans and am getting the following error message.
    "Cannot find the symbol : class regex"
    "Cannot find the symbol : variable Pattern "
    How to correct the error?

  • When I am searching for any particular song or album from my shared ITUNES folder, the search is conducted  in the apple store and not on the shared library. How to search for the song in the shared library

    I am using IPAD Mini.When I am searching for any particular song or album from my shared ITUNES folder, the search is conducted  in the apple store and not on the shared library. How to search for the song in the shared library

    Search for shared library is impossible, as far as I know.  Searches supported - are local and internet.

  • Please answer. how to search for files

    Hi,
    We need an integration with SAP. They send us files in the format: yyyymmddhhmiss.atv
    For example we receive following files:
    20050503101115.atv
    20050504101115.atv
    20050505101115.atv
    So, we dont know how to search for all files with extensions ".atv" in the directory.
    We are using PLSQL. Is there some way to resolve with UTL_FILE?
    Any other suggestion?

    A possibility:
    In sqlplus, issue a HOST command to list the files to a file:
    ls *.atv &gt; atv_dir.txt
    Then use utl_file to read atv_dir.txt and parse it for the file names.
    You could put the filenames in a pl/sql table and use that as loop control.

  • How to search for the list of portal components that use a certain LOV?

    hi,
    does anyone know how to search for all of those portal components which use a certain other component?
    let's make it specific. how can i know which of the portal components (portal reports and forms, content folders, etc) are using any certain LOV?
    will really appreciate any hints.
    naqvi

    Please ask this question in the Oracle Text forum (formerly interMedia text). You will get the experts that work with it every day there.

  • Can't search for artists. don't know their genre

    Does anyone know how to search for a specific artist only? I can't figure it out. Also, does anyone know what genre Vanessa Carlton is in? Thanks!

    Have you tried the Power Search, linked from the main page of the iTunes Music Store?

  • How to search for packages that Names including "'" [solved]

    Hi everyone
    first ,forgive my english lvevel
    and I want to know
    How to search for packages that Names including "'"
    for instance
    $ pacman -Ss America's Army
    it returned
    >
    Please help me ,many thanks!
    Last edited by icywalk (2010-04-05 13:09:26)

    fyi America's Army in the AUR as armyops if you're looking for it.

  • How to search for (new) BAdIs?

    Hi,
    I found some forum threads, blogs, and wikis in sdn about "How to search for BAdIs".
    Here the list I found:
    1. SE18 u2013 BADI Definition
    2. SE81 u2013 Application Hierarchy
    3. SPRO u2013 SAP IMG Reference
    4. SE84 u2013 Object Navigator u2013 Repository Information System
    5. SPAU_ENH (ECC6.0) u2013 Enhancements -> Simple or Composite (spots, implementations, sections, upgrades)
    6. ST05 u2013 SQL Trace -> Buffer Trace
    7. SE24 -> CL_EXITHANDLER -> Breakpoint at Method GET_INSTANCE -> Run Transaction -> Exit_name -> BADI name
    The fastest ways are ST05 and SE24, I think. Are there such effective ways for the new, kernel based BAdIs? ST05 and CL_EXITHANDLER with debugger donu2019t work.
    thanks in adavance,
    Michael

    Hi,
        Missed one more method
    The below steps should enable you to find any BADI related to any transaction in a matter of minutes.
      Go to the transaction SE37 to find your function module.
      Locate the function SXV_GET_CLIF_BY_NAME.
      Put a breakpoint there.
      Now open a new session.
      Go to your transaction.
      Goto the screen where you want to find any BADI available, it will stop in this function.
      Double click on the function field EXIT_NAME.
      That will give you name of the BADI that is provided in your transaction.
      Again execute and it stop again and fill with new BADI name if any
      Repeat the same step and you come to know how many BADI exist
    Regards
    Bala Krishna

  • How to search for file in jsp page

    i need help on how to search for a file in a folder where there is a lot of subfolder.like how u search in a document in windows. i need a complete codes in jsp page.
    thank you in advance.
    Message was edited by:
    n_dilah

    no i need to do a search engine in jsp page which is the j2ee.
    i type smth than tat file from any folder will appear the same way when u need to search your file in a document in windows.
    well can u nice people tell me where i can get the codes bcos i stinks when it come to programming.
    thank you very very very much.

Maybe you are looking for

  • Cannot send email via wifi in Microsoft exchange.

    Ever since updating my iPad and iPhone to iOS6, I have not been able to send Microsoft Exchange email via my home wifi network.  It just sits in my outbox.  I have tried deleting the account and setting up again but no change.

  • HD Audio through XtremeGamer Pro?

    I am backing up Blu-Ray movies : to my HDD and starting an HD library. I am using a XtremeGamer Pro to output audio through 3x3.5mm to 6 RCA jacks (which is considered multichannel analog). Several sources out there say HD audio can be passed through

  • How do I edit RAW photos and save as jpeg?

    HI! I have some RAW photos that I want to edit and save as jpeg. Will the edits compromise the file and how do I then save these edited files as jpegs and will that compromise the files? THANKS!

  • Referencing instances in loaded movie?

    Hello Forum The following code gives me an error: 1119: Access of possibly undefined property sp1 through a reference with static type flash.display:Sprite. Not sure how to get around this issue...  these things used to work in as2, I guess not anymo

  • Photoshop Element 12 et Raw Nikon D750

    Bonjour, Je possède Photoshop Element 12, version 12.1 avec plugin Camera Raw verion 8.5.0. Je n'arrive pas à ouvrir les fichier Raw du dernier Nikon D750. J'ai téléchargé la version 8.7.1 de Camera Raw et l'ai exécuté, mais elle ne se met pas à jour