You need to set permission for the user controls .
- Goto C:\Program Files\
- Right click java folder, click properties. Select the security tab.
- There, click on "Edit" button, which will pop up PERMISSIONS FOR JAVA window.
- Click on Add, which will pop up a new window. In that, in the "Enter object name" box, Enter your user account name, and click
okay(if already exist, skip this step).
- Now in "PERMISSIONS OF JAVA" window, you will see several clickable
options like CREATOR OWNER, SYSTEM, among them is your
username. Click on it, and check mark the FULL CONTROL option in
Permissions for sub window.
- Finally, Hit apply and okay.