Changing java security file in windows
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.
![Ranjith Reddy](https://i.stack.imgur.com/W6bu2.jpg?s=256&g=1)
Ranjith Reddy
Updated on July 05, 2022Comments
-
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.