sun studio 11 installation failure

hi ,

i tried installing sun studio 11 on my SUN BLADE 1500 workstation and it just hangs at 20% .

the output in commandl line is as follows

Installing Sun Studio Software

Exception in thread "Thread-23" java.lang.NoClassDefFoundError: com/sun/install/panels/ComponentSelectionListener

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

at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)

at java.lang.Class.getDeclaredMethod(Class.java:1935)

at java.awt.Component.isCoalesceEventsOverriden(Component.java:5723)

at java.awt.Component.access$100(Component.java:162)

at java.awt.Component$2.run(Component.java:5677)

at java.awt.Component$2.run(Component.java:5675)

at java.security.AccessController.doPrivileged(Native Method)

at java.awt.Component.checkCoalescing(Component.java:5674)

at java.awt.Component.<init>(Component.java:5643)

at java.awt.Container.<init>(Container.java:245)

at javax.swing.JComponent.<init>(JComponent.java:576)

at javax.swing.JPanel.<init>(JPanel.java:65)

at javax.swing.JPanel.<init>(JPanel.java:92)

at javax.swing.JPanel.<init>(JPanel.java:100)

at com.sun.wizards.core.WizardComponent.<init>(WizardComponent.java:159)

at com.sun.wizards.core.WizardComponent.<init>(WizardComponent.java:145)

at com.sun.wizards.core.WizardLeaf.<init>(WizardLeaf.java:78)

at com.sun.install.panels.ComponentPanel.<init>(ComponentPanel.java:144)

at com.sun.install.products.CreateSimpleUninstaller.createSimpleUninstallerTree(Cr eateSimpleUninstaller.java:42)

at com.sun.install.products.UninstallArchiveCreator.writeArchiveFile(UninstallArch iveCreator.java:537)

at com.sun.install.products.UninstallArchiveCreator.writeArchive(UninstallArchiveC reator.java:317)

at com.sun.install.products.UninstallUnit.install(UninstallUnit.java:740)

at com.sun.install.products.Product.performInstallation(Product.java:649)

at com.sun.install.tasks.ProductTask.perform(ProductTask.java:153)

at com.sun.wizards.core.Sequence.perform(Sequence.java:343)

at com.sun.wizards.core.SequenceManager.run(SequenceManager.java:226)

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

whats to be done ?

[2354 byte] By [theyagarajana] at [2007-11-26 21:24:34]
# 1
I have the same issue on an ULTRA 10 768MB RAM.
jreidthompsona at 2007-7-10 3:04:53 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
This sounds like you have the wrong java version first in your path. Make sure that when you dojava -versionas root, it reports at least 1.4.0_06--Terry.
TerryHa at 2007-7-10 3:04:53 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

Fixed:

the default java version on my box:

SunOS unknown 5.11 snv_59 sun4u sparc SUNW,Ultra-5_10

is:

bash-3.00# java -version

java version "1.6.0"

Java(TM) SE Runtime Environment (build 1.6.0-b105)

Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

To remedy the issue on my box:

vi CD1/installer and CD2/installer and find the line: #PATH=/usr/java1.2/bin:/usr/j2se/bin:/usr/java/bin:/usr/bin:/usr/sbin:$PATH

Just below it I added the line:

PATH=/usr/jdk/jdk1.5.0_11/jre/bin/:$PATH

The older version of java did not throw the exception.

jreidthompsona at 2007-7-10 3:04:53 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
Forgot to mention, I cd'd into CD1 and ran the installer ala ./installer -nodisplaywhen it finished I cd'd into CD2 and ran the installer ala ./installer -nodisplay
jreidthompsona at 2007-7-10 3:04:53 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5
to get sunstudio to run:$ sunstudio --jdkhome /usr/jdk/jdk1.5.0_11
jreidthompsona at 2007-7-10 3:04:54 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 6

Sun Studio didn't support jdk 1.5, so it might be that installer didn't check Java version and tried to work on JVM from the PATH. Maybe if you add path to JDK 1.4 to you PATH prior to JDK 1.5, it'll work.

Sun Studio Express (and upcoming Sun Studio 12 release) should work with JDK up to 1.6; Express release can be downloaded http://developers.sun.com/sunstudio/downloads/express.jsp and stable release is on the way.

MaximKartasheva at 2007-7-10 3:04:54 > top of Java-index,Development Tools,Solaris and Linux Development Tools...