Configure Java applets
Replace Java policy files
C:\RPA\registry folder contains the java.policy file which provides additional permissions for jvm-agent. This agent is needed for properly connection between RPA Grid and java applications (e.g. applets).
Copy (and replace the existing) java.policy file to Java run-time environment on your machine.
It's important to copy it to system run-time JRE which is used to run applets: JRE_HOME/lib/security.
If you have installed a JDK bundle, copy java.policy to JDK bundle: JDK_HOME/jre/lib/security.
note
Most likely, JRE/JDK home is located under C:/Program Files/Java or C:/Program Files (x86)/Java folders. Check and update both x86 and x64 versions (if installed).
Fix Java security restrictions for applets
When you are running Java applets in Internet Explorer, you can get an Application Blocked by Java Security popup.

It happens because Java blocks applications with self-signed certificates by default. To get around this, you need to add the target site into Exception Site List.
- First of all, open Java Control Panel by pressing (Win + R) and entering javaws -viewer. Java control panel should be opened.

- Switch to Security tab and find the Exception Site List section.
- Check Enable Java content in the browser.
- Click the Edit Site List button.

To automate Java applets used in example configs, add the following URLs to Exception Site List:
- https://rpa-tutorial.s3.amazonaws.com
- https://rpa-tutorial.s3.amazonaws.com/table/base-page.html
- https://rpa-tutorial.s3.amazonaws.com/webid-portal/login.html
- https://rpa-tutorial.s3.amazonaws.com/demo/jfc/SwingSet2/custom/SwingSet2.html
To use your custom applets, add them to Exception Site List too.
Add applets locations to IE trusted sites
In Internet Explorer Options, perform the following actions.
- Switch to Security > Trusted sites.
- Click the Sites button.
- Enter the applet URL and click Add./

Test Java Applets
Try to open a Java applet for the first time in Internet Explorer, and you will get the following prompt.

Click Run, and the next time it won't be shown.