How to Fix Java Virtual Machine Launcher Error

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Check your computer for malware
Image Credit: BananaStock/BananaStock/Getty Images

Java Virtual Machine is essentially an interpreter that translates Java byte codes into machine-specific instructions. From time to time, you may face issues with Java Virtual Machine during its launch. You may get the following error message: "Java Virtual Machine Launcher could not find the main class: program will now exit." The error is rarely fatal, so you can continue to work, but it is annoying. You can get rid of the error by checking your computer for malware and editing your startup programs.

Advertisement

Step 1

Use the built-in Windows utility
Image Credit: Siri Stafford/Digital Vision/Getty Images

Remove any malware that may have entered your computer. Click "Start" and type "mrt" (without the quotes) in the Search field. Press "Enter" to launch a built-in Windows utility, Microsoft Malicious Software Removal Tool. Click "Next" and choose "Full Scan." Follow the on-screen prompts to finish scanning and remove any spyware or adware from your computer. Reboot your computer.

Advertisement

Video of the Day

Step 2

Click "Start," and type "msconfig"
Image Credit: Pixland/Pixland/Getty Images

Click "Start," type "msconfig" (without the quotes) in the Search field and press "Enter." This will launch your System Configuration utility.

Advertisement

Step 3

Click the "Startup" tab.
Image Credit: Creatas/Creatas/Getty Images

Click the "Startup" tab.

Advertisement

Step 4

Remove the check mark next to "WJView.exe" and "javaw.exe."
Image Credit: Jupiterimages/Photos.com/Getty Images

Remove the check mark next to "WJView.exe" and "javaw.exe."

Advertisement

Step 5

Click "OK" and reboot your computer when prompted.
Image Credit: Jupiterimages/Comstock/Getty Images

Click "OK" and reboot your computer when prompted.

Video of the Day

Advertisement

Advertisement

references