Maybe you should consider using MAVEN. When MAVEN gets the libraries you need (as you express them in the pom.xml file of your project), the jar names include the version number.
See maven.apache.org/
Normally a SHA print of each jar is also available in the MAVEN repository, so you can check with pretty assurance that a given jar is actually the expected version.
Example :
http://mirrors.ibiblio.org/pub/mirrors/maven2/struts/struts/1.2.9/
maven-metadata.xml 22-Mar-2006 20:31 111
[TXT] maven-metadata.xml.md5 04-Jan-2007 14:22 75
[TXT] maven-metadata.xml.sha1 09-Jul-2006 09:41 130
[ ] struts-1.2.9-sources.jar 13-Apr-2006 02:39 904K
[ ] struts-1.2.9-sources.jar.md5 13-Apr-2006 01:22 36
[ ] struts-1.2.9-sources.jar.sha1 13-Apr-2006 01:22 44
[ ] struts-1.2.9.jar 22-Mar-2006 20:31 537K
[ ] struts-1.2.9.jar.md5 22-Mar-2006 20:31 32
[ ] struts-1.2.9.jar.sha1 22-Mar-2006 20:31 40
[TXT] struts-1.2.9.pom 22-Mar-2006 20:31 9.2K
[ ] struts-1.2.9.pom.md5 22-Mar-2006 20:31 32
[ ] struts-1.2.9.pom.sha1 22-Mar-2006 20:31 40