So here\'s what I\'m trying to do. I have a hardware token with some certs on it and I\'m writing a Java application to try and access those certs. I have used the SunPKCS11
Assuming your {java.home} points to jre6, sunpkcs11.jar is in the {java.home}/lib/ext; If your {java.home} points to jdk1.6, sunpkcs11.jar is in the {java.home}/jre/lib/ext; I've tested it against the newly installed jdk and jre. Please verify your installation.
EDITED (summarising the comments)
In java 64-bit version pkcs11 is not available.