I have made a Java application that uses the PBKDF2WithHmacSHA1 encryption algorithm and I was required to download the Unlimited JCE Policy jar. I put both of the JAR files where there are supposed to be (I put them in the JRE security folder of my JDK), named correctly, and so it works in Eclipse.
When I export it however, it only works when I run the JAR file from command line. I have done some debugging and when I double click the executable/runnable JAR it falls in the encryption/decryption methods as they throw Exceptions.
So, if anybody can tell me why this is and more over, how to solve the issue I would be greatful as this is very important!
Thanks in advance