msjava.dll errors may appear as:
msjava.dll was not foundThis application failed to start because msjava.dll was not found. Re-installing the application may fix the problem.The program can't start because msjava.dll is missing from your computer.LoadLibrary("Msjava.dll") failed -- The specified module could not be found.msjava.dll could not be loadedThis system contains a msjava.dll version that is incompatible with the application
The 60-second answer
Recommended Free Tools
msjava.dll is the core DLL of Microsoft’s discontinued Java Virtual Machine, also called Microsoft VM or MSJVM. It is a 32-bit runtime component that belonged to older Windows and Internet Explorer installations, not to current Windows 10 or Windows 11.
Do not download a random replacement DLL. First identify the program, installer, or script requesting the file. The safest solution is usually to repair or reinstall that legacy program from its original media or a trusted vendor package. If the software was designed for Windows 2000 or Windows XP, run it in a suitably isolated virtual machine instead.
| # | Preview | Product | Price | |
|---|---|---|---|---|
| 1 |
|
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive | Buy on Amazon | |
| 2 |
|
Microsoft Windows 11 (USB) | $127.70 | Buy on Amazon |
As an Amazon Associate I earn from qualifying purchases.
Modern Oracle Java, OpenJDK, Visual C++ Redistributable, DirectX, and .NET normally do not provide msjava.dll. Microsoft no longer officially distributes MSJVM as a current download.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Microsoft documented MSJVM as a Win32 Java runtime and recorded builds including 5.0.3809 and the security-fixed 5.0.3810 in Security Bulletin MS03-011. Microsoft later phased it out and ended its life on December 31, 2007, as described in its MSJVM update.
#1 Best Overall
- MICROSOFT WINDOWS 11 PRO (INGLES) FPP 64-BIT ENG INTL USB FLASH DRIVE
What msjava.dll is
The file is identified as:
- Description: Microsoft® VM
- Publisher: Microsoft Corporation
- Architecture: 32-bit, or x86
- Reported builds:
5.0.3810.0and5.0.3234.0 - Historical location:
%SystemRoot%System32msjava.dll
On a Windows 2000 installation, that path commonly appeared as C:WINNTSystem32msjava.dll. Older Windows releases and Internet Explorer could include Microsoft VM, but current Windows does not treat it as a normal built-in component.
MSJVM is also different from the Java software most people install today. Oracle Java and OpenJDK implement later Java environments. Microsoft VM was an older Microsoft-specific Win32 runtime used by some Java applets and legacy Windows programs. Installing a current Java Runtime Environment does not normally recreate its DLL, registration, classes, browser integration, or compatibility behavior.
There is no credible evidence of a native 64-bit MSJVM DLL. The documented file is x86. A 32-bit legacy application running on 64-bit Windows may use Windows’ 32-bit compatibility environment, but that does not make an arbitrary copy of msjava.dll suitable.
Microsoft also removed its historical MSJVM download information because the runtime was no longer available for distribution. The MS00-011 archive records that change.
Do not download a random msjava.dll
Random DLL repositories create several problems:
- The file may contain malware or unwanted modifications.
- It may be the wrong build or architecture.
- Its internal dependencies may also be missing.
- Copying it may bypass the application’s proper installation process.
- A copied DLL does not recreate the runtime’s registry entries, Java classes, browser integration, or configuration.
- The program may still reject it as incompatible.
- A blank placeholder file only hides a poorly designed installer check. It does not provide a working Java runtime.
Do not copy an unknown file into System32, the application folder, or a Windows recovery image. Do not use a historical Msjavx86.exe name as proof that a download is genuine. Old Microsoft installer names and switches are historical information, not a recommendation to obtain the executable from an unverified mirror.
Use the original application media, a preserved deployment package from the software vendor, or a compatible legacy Windows installation. If antivirus removed the file, use its quarantine and protection history rather than searching the web for a replacement.
Identify what is requesting the file
The filename alone does not tell you what needs repair. The error may come from the application, its installer, a browser component, a launcher, or a manual command.
Check when the message appears
Write down the exact point at which the error occurs:
- When Windows starts.
- When you launch a particular program.
- During installation or repair.
- When opening an old document or project.
- When using an old browser-based feature.
- After running
regsvr32. - After moving the program from another computer.
If only one program produces the message, treat this as an application dependency first. If an installer displays the error, the installer may be trying to register another module whose dependency chain includes msjava.dll.
Check the application’s repair options
Open Settings with Windows key + I, select Apps, then Installed apps. Find the affected program, select its three-dot menu, and look for Modify, Repair, or Advanced options.
The available controls vary by installer. If Repair exists, use it, restart Windows, and launch the application again. If there is no repair option, locate the original setup media or trusted installation package.
Do not begin by copying a DLL into the program directory. The setup program may need to install several files together and place them in the correct system location.
Check Event Viewer
If the program closes without a useful message:
- Right-click Start and select Event Viewer.
- Expand Windows Logs.
- Select Application.
- Look for an Error recorded at the time of the failed launch.
- Open the event and note the application name, faulting module, and exception information.
This may reveal that the program is actually missing a different dependency. msjava.dll should not be assumed to be the only cause.
Check the file’s metadata if a trusted copy already exists
If you have msjava.dll on original media or an old trusted system image:
- Search the media or image for
msjava.dll. - Right-click the file and select Properties.
- Open the Details tab.
- Check the description, company, version, and location.
- Confirm that it is identified as Microsoft VM and came from a trusted source.
A matching filename is not enough. Compare the version with what the calling program expects. Avid Media Browse, for instance, documented checks for msjava.dll, while related Avid installation documentation recorded an incompatible-version message. This demonstrates why a different build may fail even when the file is present.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Fix 1: Repair or reinstall the affected legacy application
This is the most likely fix when one old program reports the error.
If you have original installation media
- Disconnect the old computer or virtual machine from unnecessary networks if the software is no longer supported.
- Insert the original CD or mount the trusted installation image.
- Open File Explorer and browse to the media.
- Run the setup program by right-clicking it and choosing Run as administrator.
- Select Repair if the installer offers it.
- If repair is unavailable, uninstall the affected program from Settings > Apps > Installed apps.
- Restart Windows.
- Run the original installer again.
- Restart after setup completes.
- Test the program using the same action that produced the error.
Some older enterprise products included MSJVM on their own installation media. IBM Rational XDE documentation, for example, identified missing msjava.dll as an underlying dependency during installation and directed administrators to install the Microsoft VM component from the Rational media before repairing or reinstalling the product.
If the media contains a Microsoft VM installer such as msjavwu.exe, use it only when it is part of the original, trusted product media and the application documentation requires it. Do not download that executable from a mirror.
If the installer reports a registration error
An installer may show an error about another module rather than naming msjava.dll. One documented pattern is an installer reporting that a module failed to register with HRESULT 5, while the missing Microsoft VM dependency is the real cause.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallIn that situation:
- Cancel the installation if it repeatedly fails.
- Record the named module and the full error text.
- Check whether the product media includes its required MSJVM component.
- Install that component from the trusted media.
- Run the application’s repair process.
- Reinstall the application if repair still fails.
- Restart and test again.
If the program still fails, the issue may be an incompatible operating system rather than one missing file.
How to tell whether this worked
The repair succeeded if:
- The application starts without the
msjava.dllmessage. - The installer completes without a dependency or registration error.
- The application’s Java-dependent feature opens normally.
- No new missing-DLL message appears.
If the message changes to a version incompatibility error, do not replace files at random. The application may require a particular historical MSJVM build and an older Windows environment.
Fix 2: Run the software in a compatible legacy Windows environment
Microsoft VM was built for older Windows software. A modern Windows 10 or Windows 11 installation may not be an appropriate host, especially if the application depends on old browser behavior, system registration, or other discontinued components.
A practical recovery path is a Windows 2000 or Windows XP virtual machine, provided you have a legitimate installation source and the necessary software license.
Safer virtual-machine procedure
- Preserve the application’s original installer and data before changing anything.
- Create a virtual machine using virtualization software you already trust.
- Install a legitimate compatible Windows version.
- Keep the virtual machine disconnected from the internet unless a specific controlled need exists.
- Install the legacy application from its original media.
- Install only the components required by that application.
- Copy data into the virtual machine using a controlled shared folder or removable media.
- Disable unnecessary shared clipboard, shared folders, and network access when they are not needed.
- Create a clean snapshot after the application works.
- Use the virtual machine only for the legacy task and plan to migrate the data or workflow.
Do not treat an old operating system as a normal internet-connected daily environment. Unsupported software can lack current security protections. Isolation reduces exposure, but it does not make obsolete software secure.
If the application cannot be installed even in its intended environment, obtain the vendor’s supported recovery package or replace the application. Copying only msjava.dll is not equivalent to restoring MSJVM.
Fix 3: Check antivirus quarantine
Security software may have removed or quarantined an old runtime file.
- Open Windows Security from the Start menu.
- Select Virus & threat protection.
- Select Protection history.
- Review entries from the time the error began.
- Open a matching entry and note the path and detection details.
- Restore the file only if it clearly came from the original trusted installation and the application genuinely requires it.
- Prefer reinstalling the application from trusted media after restoring the system to a known-good state.
- Run a full scan.
- Launch the application again.
If the detection is unclear, leave the file quarantined and do not create an exclusion merely to make the error disappear. Ask the software owner or administrator to validate the original package.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #2
- Less chaos, more calm. The refreshed design of Windows 11 enables you to do what you want effortlessly.
- Biometric logins. Encrypted authentication. And, of course, advanced antivirus defenses. Everything you need, plus more, to protect you against the latest cyberthreats.
- Make the most of your screen space with snap layouts, desktops, and seamless redocking.
- Widgets makes staying up-to-date with the content you love and the news you care about, simple.
- Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar. (1)
Fix 4: Repair Windows system files with DISM and SFC
Use this step when you suspect genuine Windows component corruption, especially on an older Windows installation that originally included Microsoft VM. It is not a way to download MSJVM into current Windows.
Before running the commands, save your work and restart Windows. Then:
- Open Start.
- Type
Command Prompt. - Right-click Command Prompt.
- Select Run as administrator.
- Select Yes if User Account Control appears.
- Enter this command and press Enter:
DISM.exe /Online /Cleanup-Image /RestoreHealth
- Wait for DISM to finish. Do not close the window while it is working.
- Enter this command and press Enter:
sfc /scannow
- Wait until the verification reaches 100 percent.
- Restart Windows.
- Test the affected application again.
Microsoft provides these commands in its System File Checker guidance.
A successful result may say that Windows Resource Protection found no integrity violations, or that it found and repaired corrupted files. If SFC says it could not repair some files, repeat the process after confirming that DISM completed successfully. If the file is absent because MSJVM was never installed, SFC cannot recreate an obsolete runtime from nowhere.
Manually hunting through Windows versions and repeating DISM or SFC without knowing what changed can be time-consuming. Outbyte PC Repair can scan for issues and show what it identifies; repairs are performed by the full version, and it is not required when the definitive fix is reinstalling a specific legacy application.
Fix 5: Check architecture and version compatibility
The documented msjava.dll file is 32-bit. That matters when the calling application is old.
On 64-bit Windows, a 32-bit program may run under the Windows compatibility environment and use a different system path view from a 64-bit process. System32 does not mean that every file there is 64-bit, and the directory name alone does not tell you which copy a process should load.
Use these checks:
- Identify whether the affected program is 32-bit from its documentation or installer.
- Check the file’s Properties > Details tab if you have a trusted copy.
- Compare the file version with the application’s documented requirement.
- Do not copy a 32-bit file into a location selected only because it is named
System32. - Do not place a random copy beside the executable to force the loader past one error.
- If the application rejects the version, reinstall the matching runtime from the original product media or move the program to its intended older Windows environment.
A file reported as 5.0.3810.0 should not be described as a current supported download. It is a historical build associated with the old Microsoft VM.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteFix 6: Update Windows and investigate drivers only when evidence points there
Windows Update is appropriate for general system maintenance, but it is not expected to install Microsoft VM on current Windows.
- Open Settings.
- Select Windows Update.
- Select Check for updates.
- Install applicable updates.
- Restart when prompted.
- Test the affected program.
A graphics or hardware driver is unlikely to supply msjava.dll. Investigate drivers only if the application also reports display, device, or hardware failures:
- Right-click Start.
- Select Device Manager.
- Expand the relevant category.
- Right-click the device.
- Select Properties and inspect the General and Driver tabs.
- Use Update driver or obtain the driver from the hardware manufacturer’s official support channel.
- Restart and test.
Finding the correct driver manually can involve checking hardware IDs, package versions, and 32-bit versus 64-bit support. Outbyte Driver Updater can scan for driver issues and identify outdated packages; driver installation is handled by the full version, and this is not a substitute for reinstalling the legacy application that actually requires msjava.dll.
Why regsvr32 msjava.dll usually does not help
regsvr32 is a registration utility for DLLs that expose registration entry points such as DllRegisterServer. Microsoft documents its syntax and purpose in the regsvr32 command reference.
Free tools Windows power users keep installed
One-click scans. No signup required.
Microsoft VM is a runtime, not automatically a self-registering COM component. Running:
regsvr32 msjava.dll
will often produce an error such as:
DllRegisterServer was not found
That does not prove the file is corrupt. It means the DLL does not provide the registration function that regsvr32 expects. Microsoft explains this class of error in its DllRegisterServer troubleshooting guidance.
Use regsvr32 only when the application’s vendor specifically instructs you to register a particular DLL and confirms that the DLL supports it. It is not a general repair command for missing runtimes.
Common causes and the appropriate response
| What changed | Most likely explanation | Correct response |
|---|---|---|
| An old program was reinstalled | Its setup package expects MSJVM | Repair or reinstall from original media |
| Software moved to Windows 10 or 11 | The old runtime was not migrated | Use a compatible virtual machine or vendor migration |
| Antivirus reported the file | The file was quarantined or removed | Review quarantine and validate the original source |
| An installer reports another DLL failed to register | That DLL may depend on MSJVM | Install the runtime from the product media, then repair |
| The file exists but is rejected | Wrong build or architecture | Use the application’s matching trusted package |
| The error followed disk cleanup | A legacy component may have been removed | Restore from a known-good image or reinstall |
regsvr32 failed |
The runtime may not be self-registering | Stop using registration commands and follow application repair |
| Several unrelated programs fail | Windows or another shared dependency may be damaged | Run Windows Update, DISM, and SFC, then investigate each program |
Documented legacy software examples
The appearance of this error is more meaningful when connected to a specific old product.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problems- IBM Rational XDE installers were documented as depending on
msjava.dll. The installer could report a module registration failure even though the missing Microsoft VM was the underlying issue. - Avid Media Browse documentation described a requirement for a compatible Java VM and checked for
msjava.dllin the Windows system directory. - Avid CaptureManager documentation recorded an incompatibility message when the installed
msjava.dllversion did not meet the application’s requirement.
These examples do not establish that every old application needs MSJVM. They show why you should identify the calling program before replacing any file.
FAQ
Is msjava.dll part of Windows 11?
No. It belonged to older Windows and Internet Explorer installations. Current Windows 11 does not normally include Microsoft VM.
Is msjava.dll a Java file from Oracle?
No. It is part of Microsoft’s discontinued Java Virtual Machine. Installing Oracle Java, OpenJDK, or a current Java runtime normally will not provide it.
Is there a 64-bit version?
The documented file is 32-bit x86. A 32-bit legacy application may need it while running on 64-bit Windows, but there is no credible evidence of a native 64-bit MSJVM DLL.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Can I copy it into System32?
That is not a safe general fix. The correct location and loader path depend on the operating system and calling process, and the runtime requires more than one DLL.
Will SFC restore it?
Only if the file belongs to a Windows installation whose protected component store still contains it. SFC cannot download or recreate an obsolete MSJVM installation that is absent.
Should I run regsvr32 msjava.dll?
Usually not. regsvr32 is for DLLs that support registration entry points, while a runtime DLL is not automatically a self-registering component.
Why does the error mention another DLL?
The named DLL may be the module being loaded or registered, while msjava.dll is a dependency it needs. Repair the application and its complete runtime package rather than replacing only the named file.
What if the program still matters to my work?
Install it in a controlled Windows 2000 or Windows XP virtual machine when the original software and operating-system media are available. Keep the environment isolated and begin planning a supported replacement or migration.
Can System Restore help?
It can help only if a usable restore point predates the removal and still contains the required legacy component. It is not a source for a current Microsoft VM download.
When restoration is no longer practical
If the original media is missing, the vendor package is unavailable, and the program will not run in a compatible virtual machine, the dependency may be impossible to restore safely on Windows 10 or Windows 11.
At that point:
- Preserve the application’s data and configuration.
- Record the exact error and the program version shown in its installer or About screen.
- Search internal backups and deployment images for the complete application package.
- Contact the software owner or administrator for a supported migration path.
- Export data into a current format where possible.
- Keep any legacy environment disconnected or tightly controlled.
- Avoid collecting individual DLLs from untrusted sources.
The correct repair for msjava.dll is usually a complete, trusted restoration of the legacy application and its intended runtime environment, not a newer DLL copied into Windows.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →




