Changing java security file in windows

21,362

Try this and say if it works. It worked for me while opening hosts file.

http://www.labnol.org/software/edit-hosts-files-as-administrator/13673/

edit:

The relevant information from the linked page:

Step 1. Open your Windows start menu, search for the notepad application and then right click the notepad icon.

Step 2. Choose “Run as administrator” and then, while inside notepad, browse to folder (java.home\lib\security\java.security).

You can now edit and save that file in the same folder without any issues. To recap, the trick is that instead of directly opening a protected file in the associated application, you run the application first as an administrator and then open the file inside it.

Share:
21,362
Ranjith Reddy
Author by

Ranjith Reddy

Updated on July 05, 2022

Comments

  • Ranjith Reddy
    Ranjith Reddy almost 2 years

    I am trying to edit the java.security file in windows. When I add an entry to it and try to save, it says 'Access Denied'. How do I change the permissions to this file. I have also tried by making notepad to Run as administrator but it didn't work. Please help.