How to fix "java application blocked" error when launching IPMI/KVM console
We noticed that the Java application blocker was prompting that self-assigned or untrusted applications were blocked due to security settings. Due to this issue, some Java-based applications cannot run. In this post, we will talk about 2 common error cases when launching Java applications
If your computer does not have Java installed, you can download it from the home page to install it.
1. Fix Java Application Blocked by Java Security
If you get an error message “Your security settings have blocked a self-signed or untrusted application from running “, follow the solutions mentioned below to resolve the issue.
Step 1: Click on the Start button and search for Configure Java.
Step 2: Click the Security tab and click Edit Site List
Sep 3: Click Add and type http followed by your IP or hostname is blocked. Do the same for https
Click OK, then OK again to close Java
Instead of being denied access to the Java console, you should receive a Warning.
Just accept the warning to bypass it and it’ll connect.
2. Fix the “Unable to launch the application” error when running Java applications
When you encounter the error message “Unable to launch the application”, click on Details and the specific error code will be displayed:
With this error, you can fix it in the following way. Please make sure that JAVA running is updated to the latest version.
Step 1: Go to the java installation directory in the system and find the java.security file. My computer has Java 8 installed so the path is: C:\Program\Java\jre1.8.0_221\lib\security
Step 2: Open the java.security file with Notepad or some software to edit.
Find the line: jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, DSA keySize < 1024
Add a # sign at the beginning of that line and save
# jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, DSA keySize < 1024
Note: with Notepad, you can save this file somewhere else, for example the desktop. Then copy and overwrite the newly edited file to the file in drive C
If none of the above steps resolve the issue, try reinstalling Java on your system. Completely uninstall Java, restart your computer, and then reinstall the latest version from the official source.
Good luck!