Below is a comprehensive guide to understanding why this happens and how to fix it on Windows 10 and 11. Why is My Java Application Blocked?

If your application is currently blocked, do these two things immediately before restarting it.

Newer versions of Java (Java 8+) no longer include a "Medium" security setting, defaulting to "High" or "Very High," which blocks most legacy apps. How to Fix "Java Application Blocked"

Provide them with: