A DESCRIPTION OF THE REQUEST :
If the launcher (java.exe, javaw.exe) encounters an error that could be fixed by reinstalling Java (e.g. missing files, missing registry keys) it should say so in the error messages.
For example, if rt.jar is missing javaw.exe will fail silently. Apparently jvm.dll calls exit(), because it fails to initialize.
One cause for "losing" rt.jar can be Windows System Restore (WSR): If the system is restored to a point prior to uninstalling a JDK/JRE for example this will result in a broken install because WSR does not restore jar files by default.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just delete <install dir>/lib/rt.jar
uninstall your JDK/JRE and then use WSR to restore your system using the restore point the uninstaller created
then try to execute a jar file using javaw, either by double-clicking a application jar or from a command line.
EXPECTED VERSUS ACTUAL BEHAVIOR :
An error message.
No error message.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
When runing java.exe:
Error occurred during initialization of VM
A more informative error messages makes it easier for less experienced users to decide how to fix a problem.