How to fix java virtual machine launcher error

Updated April 17, 2017

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 start-up programs.

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.

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

Click the "Startup" tab.

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

Click "OK" and reboot your computer when prompted.

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Suvro Banerji is a recent graduate of the Missouri School of Journalism where he earned a dual degree in broadcast news and political science. He began writing professionally in 2005 at KOMU-8 News (NBC) where he worked as a multimedia producer. Banerji has also interned with CNN for two consecutive years.