If I place a file called libA.jar in a classpath folder, and rename the old one to:
libA.jar.old
Will the classloader load the classes?
I’m using weblogic over Solaris 8.
Thank you!
Udo
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.
No.
If you’re using Java 5 or earlier, you must explicitly name all classes and jar files to be loaded. Obviously, since the old one, libA.jar.old isn’t named, it won’t be loaded.
It’s a bit of a different story if you’re using Java 6, since concept of wildcard matching exists there.
Still, non jar files won’t be loaded. Info taken from official site. Quote: