7 Replies Latest reply: Mar 6, 2013 5:38 PM by user12143138 RSS

    Oracle db 11gR2  Solaris Installation Err main" java.lang.NoClassDefFoundE

    860166
      OS : Solaris 5.10
      DB 11gR2

      When trying to install db software getting below error

      $ ./runInstaller
      Starting Oracle Universal Installer...

      Checking Temp space: must be greater than 180 MB. Actual 67427 MB Passed
      Checking swap space: must be greater than 150 MB. Actual 78379 MB Passed
      Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
      Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-05-06_03-00-30PM. Please wait ...$ Exception in thread "main" java.lang.NoClassDefFoundError
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:164)
      at java.awt.Toolkit$2.run(Toolkit.java:821)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
      at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
      at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
      at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:242)
      at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1779)
      at javax.swing.UIManager.setLookAndFeel(UIManager.java:453)
      at oracle.install.commons.util.Application.startup(Application.java:759)
      at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:165)
      at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:182)
      at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:308)
      at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:121)
      at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:152)

      $

      Edited by: user12201180 on May 6, 2011 12:02 PM
        • 1. Re: Oracle db 11gR2  Solaris Installation Err main" java.lang.NoClassDefFoundE
          Srini Chavali-Oracle
          Pl review and confirm that you meet all of the pre-reqs needed for the install, and that you are following the install steps in the install guide

          http://download.oracle.com/docs/cd/E11882_01/install.112/e17163/toc.htm

          Srini
          • 2. Re: Oracle db 11gR2  Solaris Installation Err main" java.lang.NoClassDefFoundE
            Helios-GunesEROL
            Hi;

            What ./runInstaller -executePrereqs returns?

            What /tmp/OraInstall2011-05-06_03-00-30PM. files says?

            Regard
            Helios
            • 3. Re: Oracle db 11gR2  Solaris Installation Err main" java.lang.NoClassDefFoundE
              Ivan Kartik
              Previous solution won't work. Use link given by schavali or simply execute following command to check for missing packages:
              pkginfo -i SUNWarc SUNWlibms SUNWtoo SUNWi1cs SUNWxwfnt SUNWxwplt SUNWmfrun SUNWxwplr SUNWxwdv SUNWbtool SUNWi1of SUNWhea SUNWlibm SUNWsprot SUNWuiu8 SUNWpool SUNWpoolr
              • 4. Re: Oracle db 11gR2  Solaris Installation Err main" java.lang.NoClassDefFoundE
                914946
                Hi Ivan.
                I'm in the same situation.
                I'm trying install 11gR2 in Sparc Sun OS 5.10
                From a WIN machin using Xming server and a Putty session.
                The DISPLAY variable is set correctly.

                bash-3.00$ ./runInstaller
                Starting Oracle Universal Installer...

                Checking Temp space: must be greater than 180 MB. Actual 19160 MB Passed
                Checking swap space: must be greater than 150 MB. Actual 33288 MB Passed
                Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
                Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-02-02_03-01-51PM. Please wait ...bash-3.00$ Exception in thread "main" java.lang.NoClassDefFoundError
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:164)
                at java.awt.Toolkit$2.run(Toolkit.java:821)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
                at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
                at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
                at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:242)
                at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
                at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
                at oracle.install.commons.util.Application.startup(Application.java:758)
                at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
                at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
                at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
                at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
                at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)

                The PreReqs are Ok too:

                system SUNWarc Lint Libraries (usr)
                system SUNWbtool CCS tools bundled with SunOS
                system SUNWhea SunOS Header Files
                system SUNWi1cs X11 ISO8859-1 Codeset Support
                system SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts
                system SUNWlibm Math & Microtasking Library Headers & Lint Files (Usr)
                system SUNWlibms Math & Microtasking Libraries (Usr)
                system SUNWmfrun Motif RunTime Kit
                system SUNWpool Resource Pools
                system SUNWpoolr Resource Pools (Root)
                system SUNWsprot Solaris Bundled tools
                system SUNWtoo Programming Tools
                system SUNWuiu8 Iconv modules for UTF-8 Locale
                system SUNWxwdv X Windows System Window Drivers
                system SUNWxwfnt X Window System platform required fonts
                system SUNWxwplr X Window System platform software configuration
                system SUNWxwplt X Window System platform software

                I just executed ./runInstaller with -executePrereqs and -ignoreSysPrereqs flags to and the error is always the same. But if I want to run the 10g version runInstaller it works without problems.

                Can you help me?

                Regards.
                • 5. Re: Oracle db 11gR2  Solaris Installation Err main" java.lang.NoClassDefFoundE
                  Srini Chavali-Oracle
                  Solution in MOS Doc 1073073.1 (11gR2 runInstaller Fails with Exception in thread "main" java.lang.NoClassDefFoundError)

                  HTH
                  Srini
                  • 6. Re: Oracle db 11gR2  Solaris Installation Err main" java.lang.NoClassDefFoundE
                    935515
                    1.Open Xterm session type command xclock and check whether the clock appears or not if not open run the package manager and install packages related to X11 and X.
                    2.Now type DISPLAY=yourIp:0.0;export DISPLAY first as root user then oracle user.
                    3.run the installer by ./runInstaller command.
                    • 7. Re: Oracle db 11gR2  Solaris Installation Err main" java.lang.NoClassDefFoundE
                      user12143138
                      set | grep DISPLAY
                      set | grep XAUTHORITY

                      su - newuserID
                      export [result of 1st grep]
                      export [result of 2nd grep]
                      [run program with X display output]



                      -E.Sandoval
                      -Willamette Dental