how to fix java virtual machine launcher error
How to Fix Java Virtual Machine Launcher Error
If your system is chivvied by 'Java virtual machine launcher' error messages frequently, you need not worry. Scroll through this Buzzle article to find out how to fix them.
JVM Function
The Java virtual machine is responsible for memory allocation and garbage collection, along with interpretation of byte code to machine code.- Open the control panel.
- Go to system.
- Go to advanced systems properties.
- Click 'environment variables'.
- In system variables, click 'new'.
- Put new variable name: _JAVA_OPTIONS
- Put new variable value: -Xmx512M
- Click 'ok'.
- Xmx is the maximum heap memory size that can be allocated.
- Xms is the minimum heap memory size that can be allocated.
- Go to Windows\system32 folder.
- Delete the Java executable files, including java.exe, javaw.exe, and javaws.exe.
- Reinstall JRE.
- Click 'start' in the main menu.
- In the search box that appears, type 'mrt' and press enter. A windows utility called 'Microsoft malicious software removal tool' will get launched.
- Click 'next' and choose 'full scan'.
- Reboot your computer after you've finished scanning.
- Click 'start' and launch the system configuration utility by typing 'msconfig' in the search field.
- Click the 'startup' tab and remove the check mark next to 'WJView.exe' and 'javaw.exe'.
- Reboot when prompted.
- Click 'start' and go to 'default programs'.
- Select 'Associate a file type or protocol with a program'.
- Click on the extension (.jar) to view the program that opens it by default.
- Click 'change program' and select the default program 'JAVA virtual machine launcher'.
- Click 'close' and check whether the issue is resolved.
- If not, try uninstalling and reinstalling Java.
- If the problem still persists, check with the technical support of the application which gives you the error.