Consider that I have a directory full of jars. Is there a java command that I can type into the command prompt that will tell me which jars a class can be loaded from?
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.
“Java commands” (whatever they may be) are usually not entered on the command line. You might try a simple grep, though:
Theoretically the dots need to be escaped to prevent them from matching any character but this will generally give you an idea where a class is located.