Installing Software or Applying a Patchset Via OUI - Could not find the main class. Program will exit. (Doc ID 317386.1)

Last updated on NOVEMBER 21, 2016

Applies to:

Oracle Enterprise Manager - Version 2.1 to 11.1
Oracle Fusion Middleware - Version 9.0.2.0.0 to 12.1.2.0.0 [Release 9iAS to 12c]
Oracle Universal Installer - Version 2.0.1.6 to 11.2.0.4
Oracle Database - Enterprise Edition - Version 9.0.1.0 to 11.2.0.4 [Release 9.0.1 to 11.2]
Portal - Version 9.0.4 to 11.1.1.7.0 [Release 10g to FMW11g]
Information in this document applies to any platform.
*** Checked for Currency 12-Mar-2015 ***

Symptoms

Running the OUI (Oracle Universal Installer) for installing an Oracle Product or applying a Patchset at a certain point within the OUI the following error message may be seen (within a dialog box):

Could not find the main class. Program will exit.

The OUI then closes and the installation or patch application ceases to continue.

 

 

Example (while installing 9.0.4.2 patchset):-

+ Contents of oraInstallYYYY-MM-DD_HH-MM-SSAM_PM.err (within the Inventory logs):-

Answer the all the questions that the script prompts for at Components.oracle.iappserver.dbpatch.v9_0_4_2_0.CompContext.validate_nValidationSchemaSelect(Unknown Source) at Components.oracle.iappserver.dbpatch.v9_0_4_2_0.CompContext.validate(Unknown Source) at oracle.sysman.oii.oiis.OiisVariable.validate(OiisVariable.java:1333) at oracle.sysman.oii.oiis.OiisVariable.setVarValue(OiisVariable.java:1163) at oracle.sysman.oii.oiis.OiisVariable.setValue(OiisVariable.java:1103) at oracle.sysman.oii.oiis.OiisVariable.setValueFromDisplay(OiisVariable.java:1436) at oracle.sysman.oii.oiif.oiifm.OiifmGraphicPageHandler.setVariableValues(OiifmGraphicPageHandler.java:606) at oracle.sysman.oii.oiif.oiifm.OiifmGraphicPageHandler.onNext(OiifmGraphicPageHandler.java:536) at oracle.sysman.oii.oiif.oiifw.OiifwWizDialog.onNext(OiifwWizDialog.java:545) at oracle.sysman.oii.oiif.oiifw.OiifwNavigationPanel.onActionPerformed(OiifwNavigationPanel.java:300) at oracle.sysman.oii.oiif.oiifw.OiifwNavigationPanel.actionPerformed(OiifwNavigationPanel.java:285) at oracle.ewt.button.PushButton.processActionEvent(Unknown Source) at oracle.ewt.button.PushButton.processEventImpl(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at oracle.ewt.button.PushButton.activate(Unknown Source) at oracle.ewt.lwAWT.AbstractButton.processMouseReleased(Unknown Source) at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source) at oracle.ewt.button.PushButton.processEventImpl(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source) at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source) at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms