Wednesday, May 30, 2012

solaris 9 u4 & studio 11

are not compatible.
# ./installer

Exception in thread "Thread-28" 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.(Component.java:5643)
        at java.awt.Container.(Container.java:245)
        at javax.swing.JComponent.(JComponent.java:576)
        at javax.swing.JPanel.(JPanel.java:65)
        at javax.swing.JPanel.(JPanel.java:92)
        at javax.swing.JPanel.(JPanel.java:100)
        at com.sun.wizards.core.WizardComponent.(WizardComponent.java:159)
        at com.sun.wizards.core.WizardComponent.(WizardComponent.java:145)
        at com.sun.wizards.core.WizardLeaf.(WizardLeaf.java:78)
        at com.sun.install.panels.ComponentPanel.(ComponentPanel.java:144)
        at com.sun.install.products.CreateSimpleUninstaller.createSimpleUninstallerTree(CreateSimpleUninstaller.java:42)
        at com.sun.install.products.UninstallArchiveCreator.writeArchiveFile(UninstallArchiveCreator.java:537)
        at com.sun.install.products.UninstallArchiveCreator.writeArchive(UninstallArchiveCreator.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)
well. just take away my spoons.

download jdk-1_5_0_21-solaris-sparc.sh from here http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html#jdk-1.5.0_21-oth-JPR. and...

# mv /usr/java /usr/java1.4
# ln -s /usr/jdk1.5.0_21 /usr/java
Post a Comment