Find Java class or text file in jar files using JarScan

Probably we all face ClassNotFoundException and we want to know where is that following class is missing with in our jars.  You will search hundreds of jar files to find that specific class.  jarscan is helpful tool or utility to look over your required class with in any archive.  jarscan searches recursively all archives in the current directory and all subdirectories for certian entry. 

To download this tool please click here Download jarscan.jar 

To display the help message type:
  java -jar jarscan.jar -help OR java -jar jarscan.jar

  D:\Softwares\Utilites>java -jar jarscan.jar -help

written by Geoff Yaworski
Version 2.0

Usage: java -jar jarscan.jar [-help | /?]
                    [-dir directory name]
                    <-files | -class | -package>
                    <search string 1> [search string 2]
                    [search string n]

  -help or /?           Displays this message.

  -dir                  The directory to start searching
                        from default is "."

  -zip                  Also search Zip files

  -showProgress         Show a running count of files read in

  -files or -class      Search for a file or Java class
                        contained in some library.
                        i.e. HttpServlet

  -package              Search for a Java package
                        contained in some library.
                        i.e. javax.servlet.http

  search string         The file or package to
                        search for.
                        i.e. see examples above
  To find the class ArrayList starting from the root of your c: drive type:
  java -jar jarscan.jar -dir c:\ -class ArrayList  

  •   How to search .class files from mulitple jars.
  •   How to search text file from java archive file.


  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.

  2. HI! Also you can find another download. Here I found how open jar file immediately, blooming instructions I did it without problems. Take a note, this advice.

  3. Tired of boring work? Play and win with BGAOC top online casino come in now and take your winnings.

  4. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.
    I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
    Java training in Indira nagar
    Java training in Rajaji nagar
    Java training in Marathahalli
    Java training in Btm layout
    Java training in Marathahalli

  5. Great blog thanks for sharing Leaders in the branding business - Adhuntt Media is now creating a buzz among marketing circles in Chennai. Global standard content creation, SEO and Web Development are the pillars of our brand building tactics. Through smart strategies and customer analysis, we can find the perfect audience following for you right now through Facebook and Instagram marketing.
    seo service in chennai

  6. Nice blog thanks for sharing You have come to the right place. Karuna Nursery Gardens is the ideal place to begin your journey into landscape gardening. Our specialists have built some of the finest landscape garden in Chennai that too at the best price and amazing service.
    corporate gardening service in chennai

  7. Excellent blog thanks for sharing Pixies beauty Shop is the best place to buy cosmetics in Chennai. With thousands of premium imported brands to choose from, you’ll never run out of lipstick again. And don’t forget about the best offers and value they provide.
    beauty Shop in Chennai

  8. Result – Unlike information mining, DA doesn't rotate around the recognizable proof of unfamiliar examples and concealed connections; rather, it centers around the determination of an end. Data Analytics Course

  9. Very useful blog thanks for sharing IndPac India the German technology Packaging and sealing machines in India is the leading manufacturer and exporter of Packing Machines in India.

  10. Aw, this was an exceptionally good post. Taking the time and actual effort to make a top notch article… but what can I say… I procrastinate a lot and never manage to get anything done.

  11. I need to to thank you for this excellent read!! I definitely loved every bit of it. I've got lap you saved as a favorite to look at new stuff you post…

  12. Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.

    data science course

  13. Very interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know
    Digital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery

  14. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!

    Simple Linear Regression

    Correlation vs Covariance

  15. Amazing Article ! I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
    Simple Linear Regression
    Correlation vs covariance
    data science interview questions
    KNN Algorithm