I'm trying to automate the following situation on a Windows 7 workstation.
I use Java only for a single vendor app that requires the Java Cryptography Extension files to be placed in \security. However, everytime Java updates, a new folder is created referencing the build number of the Java and the JCE files have to be copied again into the new location.
I hoped JAVA might set an environment variable that pointed to the latest version, but it doesn't. The most it seems to do is update some SYMLINKS that point to the new version. However, since these are links to files, I don't think I can use them to move the JCE files.
My hope is to create a script that will grab the JCE files from a common location, discern the latest path for Java, and copy the JCE files into the proper place.