What Is Javaw.exe? What Should You Do If It Is Missing?

Sherry li
4 min readSep 18, 2020

Summary :

Javaw.exe missing is a common issue on Windows. There are many factors which may lead to this error. In this post, MiniTool Partition Wizard puts together some fixes to solve the problem that Windows cannot find javaw.exe. You can have a try if you’re bothered by the same issue.

What Is Javaw.exe?

Javaw.exe is an executable which is part of the Oracle Java Runtime Environment (JRE). It is used to launche Java programs, JAR files included. The javaw.exe command is identical to java.exe, but there is no console window associated with javaw.exe.

Some users report that when they tried to launch Java software, the following error message popped up: Windows cannot find ‘javaw.exe’. Make sure you typed the name correctly, and then try again. If you’re looking for the ways to solve it, you should keep reading, as here are some solutions.

How to Fix Javaw.exe Missing?

To fix javaw.exe missing, here are 3 solutions and you can try them one by one. Hope they could be helpful for you.

Solution 1: Scan for Malware

Malware attack could be a reason for javaw.exe missing, and you should scan for malware to troubleshoot the issue. Microsoft provides a Windows Malicious Software Removal Tool which helps keep Windows computers free from prevalent malware. You can also use other third-party software such as Malwarebytes to check it.

Solution 2: Add Javaw.exe Path to the Environment Variable Path

If you still fail to open certain Java program because Windows can’t find javaw.exe file, you should try adding the javaw.exe path to the environment variable path manually. Here are the detailed step.

Step 2: Type sysdm.cpl in the box and click OK to open System Properties quickly.

Step 3: In System Properties, switch to Advanced tab, and then click Environment Variables.

Step 4: In the pop-up window, click the New button under System variables section.

Step 5: For Variable name, enter Path. For Variable value, input the exact path of your javaw.exe file. The default path of javaw.exe on 64-bit Windows platforms should be C:\Program files(x86)\java\jre7\bin or C:\Program files(x86)\java\jre8\bin.

Tip: If you don’t know the path, you can search javaw in the Search utility. Then right-click javaw from the search results and select Open file location. File Explorer will open the folder that includes javaw.exe.

Step 6: Click OK in New System Variable window. Then click OK in Environment Variables and System Properties window.

Solution 3: Reinstall Java

Don’t be upset if the solutions above are not helpful in your case. Here is another way you can have a ty: reinstall Java program, as outdated Java versions could also be responsible for javaw.exe missing.

Step 1: Open Control Panel.

Step 2: In the upper right corner, select View by: Category. Then click Uninstall a program.

Step 3: In the Programs and Features window, right-click Java and select Uninstall.

Step 4: Follow the onscreen instructions to finish the operation.

Step 5: Restart your PC and download Java installer from the official website in your browser. Then run the installer to install Java again.

After reinstalling Java, you can launch it and check if javaw.exe missing error message disappears.

A great number of users don’t know how to check Java version. Are you also searching for this instruction? Now, this post will provide you with full guide.

Originally published at https://www.partitionwizard.com on September 18, 2020.