How to use StopWatch from apache commons?
What do I download/install to use this class in my project?
How to use StopWatch from apache commons? What do I download/install to use this
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have no build system such as Ant, Maven e.t.c. In Eclipse you should use: Project properties -> Java Build Path -> Libraries -> Add External Jar -> Choose Downloaded Apache Common Jar. This option will add your jar to the project’s classpath. It means Java compiler and JVM know where find classes when you reference this class in your code. It will not additional cost in runtime if you have giant jar file because will load only those classes need to executing code(all you refer from your code and referred by library code).
Also, you may download sources file to attach for jar in IDE. After you are able to look library source code and javadoc in your IDE.
Also, you may consider Guava stopwatch implementation if you already have this one in your classpath.