Installer doesn't appear to be doing anything...

How can I find out if the installer is actually working? I'm trying to install

Sun Studio 11 under Solaris 9. The system is a clean install, with only the

Developer Cluster.

The installer printed this:

[code]

# ./installer -nodisplay

java.lang.NoClassDefFoundError

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:141)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnv)

at java.awt.Font.initializeFont(Font.java:308)

at java.awt.Font.<init>(Font.java:344)

at javax.swing.plaf.metal.DefaultMetalTheme$FontDelegate.getFont(Defaul)

at javax.swing.plaf.metal.DefaultMetalTheme.getFont(DefaultMetalTheme.j)

at javax.swing.plaf.metal.DefaultMetalTheme.getControlTextFont(DefaultM)

at javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue.createValue()

at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:199)

at javax.swing.UIDefaults.get(UIDefaults.java:129)

at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)

at javax.swing.UIDefaults.getFont(UIDefaults.java:349)

at javax.swing.UIManager.getFont(UIManager.java:491)

at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:89)

at javax.swing.plaf.basic.BasicButtonUI.installDefaults(BasicButtonUI.j)

at javax.swing.plaf.metal.MetalButtonUI.installDefaults(MetalButtonUI.j)

at javax.swing.plaf.basic.BasicButtonUI.installUI(BasicButtonUI.java:60)

at javax.swing.JComponent.setUI(JComponent.java:449)

at javax.swing.AbstractButton.setUI(AbstractButton.java:1616)

at javax.swing.JButton.updateUI(JButton.java:119)

at javax.swing.AbstractButton.init(AbstractButton.java:1952)

at javax.swing.JButton.<init>(JButton.java:109)

at javax.swing.JButton.<init>(JButton.java:82)

at com.sun.forte.install.panels.FDWelcomePanel.createUI(FDWelcomePanel.)

at com.sun.wizards.core.WizardComponent.beginDisplay(WizardComponent.ja)

at com.sun.wizards.core.IteratorLayout.wrapperBeginDisplay(IteratorLayo)

at com.sun.wizards.core.IteratorLayout.displayCurrentPanel(IteratorLayo)

at com.sun.wizards.core.AutonextController.displayPanel(AutonextControl)

at com.sun.wizards.core.AutonextController.setCurrentPanel(AutonextCont)

at com.sun.wizards.core.IteratorLayout.setCurrentLeaf(IteratorLayout.ja)

at com.sun.wizards.core.IteratorLayout.setRoot(IteratorLayout.java:416)

at com.sun.wizards.core.IteratorLayout.setRoot(IteratorLayout.java:367)

at com.sun.wizards.core.WizardTreeManager.initializeClient(WizardTreeMa)

at com.sun.wizards.core.WizardTreeManager.run(WizardTreeManager.java:43)

at java.lang.Thread.run(Thread.java:534)

[/code]

And it now appears to be sitting there doing nothing (it hasn't exited).

A ps -ef shows:

[code]

root 1201 1156 0 07:18:11 console 0:45 java -Dlang=C -classpath . -mx64m install

root 1156 1153 0 07:18:09 console 0:00 /bin/sh ./installer

root 1204 1201 0 07:18:22 console 0:00 /tmp/SolarisNativeToolkit_3.0.2_1

[/code]

[3187 byte] By [arkhamone] at [2007-11-26 9:17:20]
# 1
Could you let me know which java version you have in your root path?Which platform are you trying to install on -sparc/intel/linux?
akumta at 2007-7-6 23:44:58 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

I磎 Having the same problem. I磎 trying to install Sun Studio 11 on a Ultra 10 Station running Solaris 9. I磛e already installed the latest available J2SE for Solaris, but when I try to execute the installer script, either in text or graphical mode, its gives me the error java.lang.NoClassDefFoundError.

Why my God!? Why?

SirGalahad at 2007-7-6 23:44:58 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

I would need more info.

Could you confirm that the JDK version on your root path is indeed the latest one that you have downloaded?

# java -version

If not, please set the PATH variable.

Are you logged in remotely?

If so, then for the GUI installer (installer), you would need to set the DISPLAY variable.

For the command line installer (installer -nodisplay), if you are installing on SPARC,

please try the following:

a) ./cd CD1

./installer -nodisplay

and then

b) cd ../CD2

./installer -nodisplay

Note: CD2 installs JDK 1.4.2_08, if you already have a later version installed, then it will not install the JDK for you which is as expected.

Let me know how this goes.

akumta at 2007-7-6 23:44:58 > top of Java-index,Development Tools,Solaris and Linux Development Tools...