Share via

Cannot open any java installer.

Anonymous
2025-01-03T23:00:46+00:00

Everytime i try to run a Java installer, no matter if its an offline or online installer, no matter if its 64 bit or 32 bit, it just doesnt show the window and does nothing.

Windows for home | Other | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2025-01-10T02:32:36+00:00

    Hello,dwx 0

    I've marked your reply as an answer, hopefully your thread will be noticed by more users and solve their problems, thank you for sharing your enthusiasm and I wish you all the best!

    Your feedback is greatly appreciated, please click “Yes” or “No” to help us improve the support experience and help others with similar issues.

    Best Regards,

    Rota|Microsoft Community Support Specialist

    1 person found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Anonymous
    2025-01-04T14:00:23+00:00

    I actually fixed it in an other way. I installed a newer version of java (Java 17) and it seems like it fixed everything. I was able to run any Java 8 installer again. Thank you anyway.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-01-06T10:02:18+00:00

    Hello,dwx 0

    I'm glad to hear that you solved the problem by installing a newer version of Java! This may be due to the fact that when installing the newer version, the installer automatically cleans up the cache, environment variables and registry entries left over from the older version, which is similar to the “cleaning up older versions of Java” method I mentioned earlier, and is one of the effective paths to solving the problem.

    To help you further optimize your system and avoid similar problems, I have some suggestions for you:

    1- Create a system restore point: Before making important system adjustments (such as installing or uninstalling critical software), it is recommended to create a system restore point, so that you can quickly restore the system state in the event of an unexpected problem, which you can practice according to the following methods.

    • Type "create system restore point" in the search bar and click on the result that appears.
    • In the System Properties window, switch to the System Protection tab.
    • Under Protection Settings, select the drive you want to create the restore point on (usually the C drive) and click the Create button.
    • Enter a description, such as "Playtest Restore Point" and click "Create".

    2- Regularly check your system environment variables: make sure they are configured correctly, e.g. remove unnecessary old Java paths to avoid conflicts or errors.

    3- Use development tools to manage Java version: If you are using Java for programming development, you can consider configuring the Java version in the development tools (e.g. IntelliJ IDEA, Eclipse or Maven). This approach allows the development tools to call the Java version directly, without affecting the global environment in the system, and effectively avoid the problem of version conflicts.

    We are very happy to hear from you! We value your feedback, and if you find my content helpful, please help us improve the support experience by logging into your account and selecting “Yes” or “No” under my posts, so more users can see your threads and get some! suggestions on how to use it.

    Not only will this help other users find a solution faster, but it will also make our community more friendly and productive! Thank you for your support and we wish you all the best with Java and our other tools!

    Best Regards,

    Rota|Microsoft Community Support Specialist

    0 comments No comments
  2. Anonymous
    2025-01-04T12:23:29+00:00

    Hello,dwx 0

    Welcome to posting in the Microsoft Community.

    This problem usually occurs when there is an incomplete and clean uninstallation on the system, especially when a previously installed version of Java has not been removed correctly, resulting in registry leftovers, misconfigured environment variables, or conflicting system files that affect the operation of the newly installed program. Please try the following steps to narrow down the problem:

    Ⅰ. Cleaning Up Older Versions of Java

    1 Download and run the Java Uninstall Tool, which scans your system for all installed versions of Java and cleans up residual files and registry entries.

    1. Clean up the residual files manually by deleting all Java files in the following directory: C:\Program Files\Java C:\Program Files (x86)\Java %APPDATA%\Sun\Java %USERPROFILE%.java
    2. Clean the registry manually:
    • Press Win + R and type regedit to open the registry editor.
    • Navigate to the following path and delete the Java-related keys:
        HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
      
        HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft
      
        HKEY_CURRENT_USER\Software\JavaSoft
      

    Disclaimer: Generally, modifying registry subkeys or work group is intended for advanced users, administrators, and IT Professionals. It can help fix some problems, however, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For further protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click How to back up and restore the registry in Windows - Microsoft Support to view the article. 

    Ⅱ. Check and fix the environment variables

    1 Press Win + R and type sysdm.cpl to open System Properties.

    1. Go to Advanced > Environment Variables and do the following:
    2. Check if the JAVA_HOME variable exists, if it exists and the path is wrong, please delete or modify it to the correct path.
    3. Find Java-related paths in Path (e.g. C:\Program Files\Java\jdk...) and delete any invalid paths. Delete all invalid paths.

    III. Checking system permissions and compatibility

    1. Ensure that you are running the installer as an administrator. Right-click on the Java installer and select “Run as administrator”.
    2. Try compatibility mode. Right-click the installer, select “Properties > Compatibility”, check “Run this program in compatibility mode”, and select your operating system version (e.g. Windows 10).
    3. Disable security software. Some antivirus programs may prevent the installer from running, try temporarily disabling your antivirus or firewall.

    Disclaimer: Temporarily turn off antivirus protection. However, keep in mind that if you do so, your device may be vulnerable to threats. So please turn it on immediately once issue fixed. 

    Ⅳ. Repairing Windows System Files

    1. Search for CMD, find the command prompt, and choose to run in administrator mode.
    2. Enter the following commands one by one, please make sure to execute the next command after the previous one is completed. DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /RestoreHealth SFC /Scannow
    3. After the scan is complete, you can check the scanning information to see if the problem has been detected and fixed.

    V. Contact Java Installer technical support to check log files

    If the problem persists, you may need to contact official technical support for a customized solution. the Java Installer usually generates log files, which can be viewed for additional error information.

    I would be happy to assist you in investigating this issue and you can share some information with me and I will answer it for you further. Thank you for your understanding and cooperation!

    Best Regards,

    Rota|Microsoft Community Support Specialist

    0 comments No comments