Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8306895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:25:16+00:00 2026-06-08T18:25:16+00:00

I have made a Java application that uses the PBKDF2WithHmacSHA1 encryption algorithm and I

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:25:18+00:00Added an answer on June 8, 2026 at 6:25 pm

    Ok, so it looks like the only way to distribute the unlimited JCE policy is to unpack the required .jars and overwrite the existing ones on users’ computers, either during installation or upon first run of the application. But even that appears to be a hit or miss process.

    The alternative route that a lot of people seem to be taking is using APIs such as BouncyCastle which supports higher levels of encryption and can be freely and easily distributed, even with commercial applications.

    I imagine that Oracle made it this way because of restrictions previously imposed of certain countries that now seem to have been lifted. I might be wrong, but I have nevertheless heard that Java is working on a better implementation to solve this problem!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a java application that stores data from a .csv file to
I have made a java application and have packed it into an executable jar
I have a Java web application that uses a plugin architecture. I would like
I have made a small Java .jar GUI application. When I run it on
I have made a small java swing application that I want to share with
I have made a Java application with Java 1.7 my problem is that it
I have a java application that I made and this week I tried to
I have made an application using Java/Hibernate/MySQL, but whenever I try running it, it
I have made a small application in Java and I would like to make
I am working on an Android app that uses the gdata-java-client to download documents

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.