Another Java Installation Is In Progress | Fix It Fast

This Java installer message means Windows Installer is busy or stuck, so clear it, then rerun the Java setup.

You double-click a Java setup file, expecting it to just run, then Windows blocks you with a message about another installation being in progress. Annoying? Yep. Confusing? Also yep.

Most of the time, nothing is wrong with Java itself. Windows Installer (the MSI engine) only handles one install job at a time. If a different app is updating, if Windows Update is finishing work in the background, or if a past installer crashed and left a process behind, Java gets stuck at the door.

This guide walks you through a clean, no-drama fix. You’ll start with quick checks that solve most cases, then move into deeper steps that clear a stuck installer, remove half-installed Java, and reinstall in a way that stays stable.

Why This Message Shows Up

The Java installer uses Windows Installer to register files, services, and entries in Programs and Features. When Windows Installer is already busy, Java can’t start its own transaction, so you see the “another installation is in progress” block.

There are a few common triggers. Some are harmless and finish on their own. Others need you to step in and clean up the stuck state.

  • A different installer is running — You may have started another setup earlier, or a store app is updating in the background.
  • Windows Update is still applying changes — Updates sometimes run MSI-based patches after you log in, even when no window is open.
  • An installer crashed — A setup can fail and leave msiexec.exe running, which makes Windows think an install is still active.
  • A reboot is pending — Windows may be waiting for a restart to finish a prior install. Until that restart happens, MSI can stay locked.

Before you try anything fancy, do the simple checks. They’re fast, they’re safe, and they fix a large chunk of cases.

Quick Checks That Clear Most Cases

Start here. You’re trying to confirm one thing: is Windows actively installing something right now, or is it stuck thinking it is?

Check If An Installer Window Is Hiding

Minimized installers are sneaky. Check your taskbar and the system tray. If you see a setup wizard, finish it or cancel it cleanly.

  • Close open setup windows — Finish, cancel, or exit any installer you can find.
  • Wait two minutes — If Windows Update is patching in the background, it can release the lock on its own.

Restart Once, Then Try Again

A restart clears many “pending install” states, kills stuck background installers, and forces Windows to finish what it was holding. After reboot, sign in, wait about a minute, then try the Java installer again.

  1. Restart Windows — Use the normal restart option, not shutdown.
  2. Let the desktop settle — Give it a short moment after login.
  3. Run the installer as admin — Right-click the Java setup file and choose Run as administrator.

Match Your Symptom To A Fix

If the restart didn’t work, use this quick map to pick the next step without guessing.

What You See Likely Cause What To Do Next
Error appears right after login Windows Update MSI work Wait a few minutes, then retry
Error repeats for hours Stuck msiexec process End msiexec, restart the MSI service
Java shows in Programs, but won’t update Partial Java install Uninstall Java, then reinstall clean
Install fails on a work PC Admin policy or deployment tool Use the company installer method

Fixing Another Java Installation Is In Progress On Windows

If you’re still blocked, it’s time to clear the Windows Installer lock. The goal is simple: stop the stuck MSI job, reset the installer service, then try Java again.

End Stuck MSI Processes

When MSI is hung, you’ll often see one or more msiexec.exe processes. Ending them is often enough to unblock Java. Save your work first, since ending an installer can roll back changes for the app it was working on.

  1. Open Task Manager — Press Ctrl + Shift + Esc.
  2. Find msiexec.exe — Look under Processes or Details.
  3. End the process — Select it and choose End task.
  4. Retry the Java setup — Run it again after the process is gone.

Restart The Windows Installer Service

If msiexec keeps coming back, the Windows Installer service may be stuck. A restart resets the service without needing a full reboot.

  1. Open Services — Press Win + R, type services.msc, then press Enter.
  2. Find Windows Installer — Scroll to Windows Installer.
  3. Restart it — Choose Restart, or Stop then Start if Restart is greyed out.

Clear A Pending Reboot State

Some installers grab the MSI lock until a restart completes their final step. If you’ve been postponing restarts, do a full reboot cycle, then retry.

  • Restart twice — One restart finishes updates, the second makes sure the queue is empty.
  • Install Java first — Before opening other apps, run the Java installer right after login.

Use A Clean Boot If Something Keeps Triggering MSI

If something on startup keeps kicking off MSI installs, you can do a clean boot. This starts Windows with a minimal set of services so you can install Java without another app grabbing the lock.

  1. Open System Configuration — Press Win + R, type msconfig, then press Enter.
  2. Hide Microsoft services — On the Services tab, check Hide all Microsoft services.
  3. Disable the rest — Click Disable all, then apply.
  4. Disable startup apps — Open Task Manager and disable startup items you don’t need for this install.
  5. Restart and install Java — Run Java before launching other software.
  6. Restore normal startup — Re-enable services and startup apps after Java installs.

If you hit the same block again right after these steps, the installer state is likely tangled with a half-finished Java install. Move to removal and reinstall.

When Java Is Half Installed Or Corrupted

Sometimes the lock clears, but Java still fails because Windows has a broken Java entry, an older runtime that won’t uninstall, or an update that died mid-way. In those cases, the cleanest path is removal, cleanup, then reinstall.

Uninstall Java From Windows

Start with Programs and Features. If Java shows up there, uninstall it the normal way.

  1. Open installed apps — Use Settings > Apps > Installed apps (or Control Panel > Programs and Features).
  2. Remove Java entries — Uninstall all Java versions you don’t need.
  3. Restart — Reboot after removal to release locked files.

Use Oracle’s Java Uninstall Tool When Removal Fails

If Java refuses to uninstall, Oracle provides a Windows-only Java Uninstall Tool on java.com. It targets older or broken Java installs that don’t come out cleanly through the normal uninstall flow.

  1. Download the tool — Get it from java.com and save it locally.
  2. Run it as admin — Right-click and run with admin rights.
  3. Remove out-of-date Java — Follow the prompts to clean old versions.

Clear Temp Files That Can Break Installers

Java installers unpack temporary files during setup. If your temp folder is packed with old junk, or permissions are odd, installs can fail in strange ways. Clearing temp files also shrinks the chance of a repeat block.

  • Open the temp folder — Press Win + R, type %TEMP%, then press Enter.
  • Delete what you can — Remove files that aren’t in use. Skip the ones Windows won’t delete.
  • Empty the Recycle Bin — Finish the cleanup.

At this point, many people rerun Java and it installs fine. If you still see “another java installation is in progress,” go back to the MSI steps and repeat the msiexec and service reset in a clean boot state.

Install Java Cleanly After The Block Is Gone

Once MSI is free and old Java is cleared, you want a clean install that won’t leave you stuck again next month. These steps also cut down on conflicts with browsers, security software, and enterprise deployment tools.

Pick The Right Installer

Oracle offers online and offline installers. If your connection is flaky, or you’re installing on multiple machines, the offline installer is often smoother because it has the full package built in.

  • Use the offline installer — Fewer download hiccups mid-install.
  • Match 64-bit Windows — Most modern PCs should use 64-bit Java.
  • Keep one runtime — Avoid stacking several old Java versions unless you have a real app requirement.

Run The Setup With A Clean Path

Move the installer to a simple folder like your Desktop or Downloads. Long paths and odd permission folders can trip installers.

  1. Close browsers — Shut down Chrome, Edge, Firefox, and any app that uses Java.
  2. Temporarily pause install-heavy apps — App stores, game launchers, and update managers can grab MSI at the wrong time.
  3. Run as administrator — Right-click the installer, then Run as administrator.
  4. Let it finish — Don’t click around or launch other setups until it completes.

Confirm The Install Without Guesswork

After Java installs, confirm it from the command line. This tells you what version is active and whether Windows can find it.

  1. Open Command Prompt — Press Win, type cmd, then open it.
  2. Check the version — Run: java -version
  3. Check the compiler — If you installed a JDK, run: javac -version

If the version command fails, Java might be installed but not on your PATH. That’s a separate fix, and it’s a nicer problem to have than a locked installer. Get the install stable first.

Stop The Error From Coming Back

Once you’ve cleared the block and installed Java, a few habits keep MSI from getting jammed again. These aren’t hard rules. They just cut down on repeat pain.

Let One Installer Finish Before You Start Another

It sounds obvious, yet it’s a common cause. If you’re updating multiple apps, queue them one at a time. Wait for each setup to close before you run the next.

Keep Windows Updates Tidy

If you see Windows asking for a restart, do it soon, not later. A pile of pending updates can keep MSI busy right when you want to install Java.

Avoid “Kill The PC” Installs

If an installer looks frozen, give it a couple of minutes before you force-close it. If you must close it, use the normal cancel button first. Hard kills are how you end up with stuck msiexec jobs and broken uninstall entries.

Know When The Message Isn’t Java’s Fault

On managed work machines, software may install through a company deployment tool, and MSI can be locked by policy. In that case, Java installs best through the same method your IT desk uses for other apps. If you keep fighting the local installer, you’ll keep seeing “another java installation is in progress.”

Once MSI is clear and Java is installed cleanly, the error usually stays gone. If it returns, clean-boot.