Error: can not find main class or can not find jvm.dll


This article applies to:
  • Platform(s): Windows 10, Windows 7, Windows XP, Windows 8, Windows Vista
  • Java version(s): 7.0, 8.0

SYMPTOMS

During Java installation process error message dialog box displays
can not find main class
or
can not find jvm.dll


CAUSE

  1. Corrupt registry entries for Java
  2. Corrupt deployment.properties file for Java

SOLUTION

Please follow the steps below for resolving this issue.
  1. Remove any traces of the failed Java installation by uninstalling Java
  2. Download and install the Windows offline installer package.


MORE TECHNICAL INFORMATION

Deployment Configuration File and Properties