Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the java.security file located on Windows?

I need to locate and edit the java.security file on a Windows 7 host. Where is it located in a default Oracle JRE installation?

like image 855
STW Avatar asked May 24 '16 14:05

STW


People also ask

Where is Java security properties file?

Whenever you run an applet, or an application with a security manager, the policy files that are loaded and used by default are the ones specified in the "security properties file", which is located in one of the following directories: Windows: java. home\lib\security\java. security.

Where is the Java policy file located?

The java. policy file that is supplied by WebSphere Application Server is located at install_root/java/jre/lib/security/java. policy. This file contains these default permissions.

How do I change Java security on Windows?

Setting the Security levels through the Java Control PanelIn the Java Control Panel, click on the Security tab. Select the desired Security level. Click Apply. Click OK to save changes made to the Java Control Panel.


1 Answers

For the Oracle JRE, on my Windows 7 system java.security is in the following location:

C:\Program Files\Java\jre7\lib\security

By the way for the JDK, should you need it, it's in:

C:\Program Files\Java\<jdk_version>\jre\lib\security 

e.g. C:\Program Files\Java\jdk1.7.0_40\jre\lib\security

like image 112
gothytim Avatar answered Oct 03 '22 17:10

gothytim