Windows 0x80070057High

JVM Launcher Error in Windows: Causes and Fixes

A comprehensive guide to fixing the JVM Launcher error in Windows. We cover causes, step-by-step solutions, and prevention tips for stable Java application performance.

Updated at February 22, 2026
15-20 min
Medium
FixPedia Team
Применимо к:Windows 10 version 20H2 and laterWindows 11 version 21H2 and laterOracle JDK/JRE 8u361+OpenJDK 11.0.22+

What the JVM Launcher Error Means

JVM Launcher error window with a message about being unable to find the Java Runtime Environment

JVM Launcher error window with a message about being unable to find the Java Runtime Environment

The JVM Launcher error (Java Virtual Machine Launcher Error) occurs when Windows cannot start the Java virtual machine to run a Java application. It appears when attempting to open a .jar file or launch a Java program and is often accompanied by messages such as:

  • Could not find Java SE Runtime Environment
  • Error: could not find java.dll
  • The system cannot find the path specified

The error code in system logs (e.g., Event Viewer) may vary. Common codes include 0x80070057 (invalid parameter) or 0x80070005 (access denied). This error blocks the launch of any Java application, from simple utilities to complex IDEs.

Causes

The JVM Launcher error is usually caused by one of the following:

  1. Missing or corrupted Java installation — Java is not installed, is partially installed, or its files are corrupted.
  2. Incorrect PATH environment variable — the system cannot find Java executables (java.exe, javaw.exe) because the path to the Java bin folder is not added to PATH or is specified incorrectly.
  3. Java version conflict — multiple versions of Java are installed (e.g., JDK and JRE), causing conflicts. Or the program requires a specific version that is missing.
  4. Insufficient permissions — the current user lacks permissions to execute Java files or access Java folders.
  5. Registry corruption — Java entries in the Windows registry are missing or corrupted, preventing launch.
  6. Antivirus or firewall — some security programs block the execution of Java files, mistakenly identifying them as threats.

Solutions

Dialog window for editing the system PATH variable in Windows 10 or 11

Dialog window for editing the system PATH variable in Windows 10 or 11

Here are proven methods to fix the error, ordered from simplest to most complex. Start with the first method and proceed sequentially if the issue persists.

Method 1: Check and Install Java

Oracle Java Development Kit installer for Windows with the 'Add to PATH' option

Oracle Java Development Kit installer for Windows with the 'Add to PATH' option

First, ensure Java is installed and accessible from the command line.

  1. Open Command Prompt (press Win + R, type cmd, press Enter).
  2. Enter the command:
    java -version
    
  3. If you see Java version information (e.g., java version "11.0.20"), Java is installed. If you see a message like 'java' is not recognized as an internal or external command..., Java is not installed or not added to PATH.
  4. If Java is missing, download and install the latest version from the official site:
  5. After installation, restart your computer and check java -version again.

Method 2: Configure the PATH Environment Variable

If Java is installed but not recognized, manually add the path to the Java bin folder to the system PATH variable.

  1. Determine the path to your Java bin folder. Typically:
    • For JDK: C:\Program Files\Java\jdk-11.0.20\bin
    • For JRE: C:\Program Files\Java\jre-11.0.20\bin If unsure, look for the Java folder in C:\Program Files\ or C:\Program Files (x86)\.
  2. Open System Properties:
    • Press Win + Pause/BreakAdvanced system settingsAdvanced tab → Environment Variables button.
  3. Under System variables, find the Path (or PATH) variable, select it, and click Edit.
  4. Click New and add the full path to the Java bin folder (e.g., C:\Program Files\Java\jdk-11.0.20\bin).
  5. Click OK on all windows and restart any open command prompts or applications.
  6. Verify by running java -version in a new command prompt.

Alternative via PowerShell (Administrator):

$javaPath = "C:\Program Files\Java\jdk-11.0.20\bin"
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";$javaPath", "Machine")

Replace the path with your own. Restart your computer afterward.

Method 3: Reinstall Java

If the previous steps didn't help, the Java installation might be corrupted. Completely uninstall and reinstall Java.

  1. Open Control PanelPrograms and Features.
  2. Find all entries related to Java (e.g., Java SE Development Kit, Java SE Runtime Environment) and uninstall them.
  3. After uninstalling, check if any Java folders remain in C:\Program Files\Java\. If so, delete them manually (requires administrator privileges).
  4. Download a fresh version of Java from the official site (an LTS version like Java 11 or 17 is recommended).
  5. Run the installer and ensure the "Add to PATH" option is checked (if present).
  6. After installation, restart your computer and test the Java application.

Method 4: Run the Program as Administrator

Sometimes the error is caused by insufficient permissions. Try running the Java application with elevated privileges.

  1. Locate the program's executable file (.exe or .jar).
  2. Right-click it and select "Run as administrator".
  3. If the program launches, the issue is permissions-related. For a permanent fix:
    • Right-click the file → PropertiesCompatibility tab.
    • Check "Run this program as an administrator"Apply.

⚠️ Note: Permanently running as administrator may be insecure. Use this method only for diagnostics or if the program genuinely requires elevated rights.

Method 5: Repair System Files and Registry

If the error is related to corrupted system files or Java registry entries, perform a repair.

  1. Check system file integrity:
    • Open Command Prompt as Administrator (Win + X → Command Prompt (Admin)).
    • Run:
      sfc /scannow
      
    • The process takes 10-20 minutes. Restart your computer after completion.
  2. Repair the Java registry (if entries are corrupted):

Method 6: Check Antivirus and Firewall

Antivirus programs sometimes block Java file execution.

  1. Temporarily disable your antivirus and firewall (e.g., Windows Defender).
  2. Try to run the Java application.
  3. If the error disappears, add the Java folder (e.g., C:\Program Files\Java\) and the program's folder to your antivirus's exclusions list.
  4. For Windows Defender: Windows SettingsUpdate & SecurityWindows SecurityVirus & threat protectionManage settings for antivirus and firewall.

Prevention

To avoid encountering the JVM Launcher error again:

  • Keep Java updated — use the latest stable versions (LTS), but verify compatibility with your programs.
  • Monitor the PATH variable — after installing new software that might modify PATH (like other Java versions), ensure the path to your required Java version is at the top of the list or is the only one present.
  • Avoid multiple Java installations — if possible, keep only one JDK/JRE version. Uninstall older versions via Control Panel.
  • Back up the registry before making any Java-related changes.
  • Run programs as a standard user rather than as an administrator, unless required, for security.
  • Periodically verify your Java installation using java -version and test runs of your applications.

F.A.Q.

What are the main causes of the JVM Launcher error?
How to manually add Java to PATH if the installer didn't do it?
What to do if reinstalling Java didn't help?
Why does the JVM Launcher error occur after a Windows update?

Hints

Check Java installation
Configure the PATH variable
Reinstall Java
Run the program as administrator
Restore system files
Check antivirus and firewall

Did this article help you solve the problem?

FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community