participate


Sun Studio Tools Forum - Studio 12 x86 fails on solaris 10;how to force uninstall?
<<   Back to Forum  |   Give us Feedback
8 Duke Stars available
This topic has 5 replies on 1 page.
Phil_Vuchetich
Posts:2
Registered: 11/16/05
Studio 12 x86 fails on solaris 10;how to force uninstall?   
Feb 16, 2008 6:18 PM

 
I have looked in previous threads relating to the Sun Studio 12 failing to install on Solaris 10 x86, but none that I saw applied to fix what I am seeing.

I tried installing per the quick install instructions and it failed, but it failed when it was part of the way done (there was an /opt/SUNWspro/bin directory, but it only had "uninstaller", which is broken). Now, it won't finish the installation, nor will it uninstall via any of the uninstallers.

When I try to run the install with the --nodisplay option, the advanced section shows that there is a partially installed version:

Currently Installed Releases
        Release:        12.0
            Installation directory:     /opt
            Clusters present:           perflib,compilers_tools,src


Detail:
# /opt/SUNWspro/bin/uninstaller
ln: cannot create ./uninstall_Sun_Studio_12.class: File exists
Exception in thread "main" java.lang.NoClassDefFoundError: uninstall_Sun_Studio_12


Question: How do I force this to be uninstalled so I can start again?

Thanks in advance,
-phil vuchetich
 
NikMolchanov
Posts:310
Registered: 11/3/04
Re: Studio 12 x86 fails on solaris 10;how to force uninstall?      
Feb 23, 2008 1:37 PM (reply 1 of 5)  (In reply to original post )

 
This is strange. I have installed Sun Studio 12 on Solaris 10 x86 systems many times,
but I never tried to use "/opt/SUNWspro/bin/uninstaller" to uninstall it.
Moreover, I don't see such file in my installations.
Usually I use another way to uninstall Sun Studio 12. There should be file

/opt/uninstall_Sun_Studio_12.class

I run the following commands:

# su root
# cd /opt
# java -cp . uninstall_Sun_Studio_12

This command start a GUI application, which uninstalls Sun Studio 12.
If you prefer to use command line uninstallation process, try this:

# java -cp . uninstall_Sun_Studio_12 -noconsole -nodisplay

Thanks,
Nik

Edited by: NikMolchanov on Feb 23, 2008 1:35 PM
 
Phil_Vuchetich
Posts:2
Registered: 11/16/05
Re: Studio 12 x86 fails on solaris 10;how to force uninstall?   
Feb 23, 2008 3:25 PM (reply 2 of 5)  (In reply to #1 )

 
Thanks for the suggestion. I've tried it, but it appears that there is still a problem in the installation.


# su root
# cd /opt
# java -cp . uninstall_Sun_Studio_12
Exception in thread "main" java.lang.NoClassDefFoundError: uninstall_Sun_Studio_12
# java -cp . uninstall_Sun_Studio_12 -noconsole -nodisplay
Exception in thread "main" java.lang.NoClassDefFoundError: uninstall_Sun_Studio_12
# java uninstall_Sun_Studio_12
Exception in thread "main" java.lang.NoClassDefFoundError: uninstall_Sun_Studio_12


I don't expect it to make a difference in the uninstall, but the java -version is:
# java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
 
bobman
Posts:1
Registered: 5/15/08
Re: Studio 12 x86 fails on solaris 10;how to force uninstall?   
May 15, 2008 3:12 PM (reply 3 of 5)  (In reply to #2 )

 
I was getting a similar failure. My machine was configured to have mounts to an older tool collection.
I added these entries to the /etc/auto_mount file so as to allow a clean Studio12 install.


/opt/SUNWspro/OSNet -null
/opt/SUNWspro/ParallelMake -null
/opt/SUNWspro/Rtitool -null
/opt/SUNWspro/WS6U1 -null
/opt/SUNWspro/bin -null
/opt/SUNWspro/contrib -null

Edited by: bobman on May 15, 2008 3:12 PM
 
srinivas_a
Posts:9
Registered: 12/14/05
Re: Studio 12 x86 fails on solaris 10;how to force uninstall?   
Jul 1, 2008 12:58 PM (reply 4 of 5)  (In reply to #3 )

 
Turns out SUN wants to screw up things occassionally to prove they are emplying retards these days. You know as part of modernization.

The errors turned out to be because uninstall_Sun_Studio_12.class in opt is a link to SUNWspro/installer/uninstall_Sun_Studio_12.class, which is again a link to SUNWspro/installer/uninstall_Sun_Studio_12.class !!! So, there is no uninstaller class, only link and self referencing link. So, you better get this class from sun support and pay up a 100 bucks or you manually delete the **** out of your server
 
akumta
Posts:26
Registered: 10/11/06
Re: Studio 12 x86 fails on solaris 10;how to force uninstall?   
Jul 7, 2008 12:13 PM (reply 5 of 5)  (In reply to original post )

 
For Solaris 10, you could use the prodreg command to uninstall Sun Studio 12.

See the section on Product Registry Problems here
http://docs.sun.com/app/docs/doc/820-0274/6nc1b7u62?l=en&a=view&q=sun+studio+12+product+registry
 
This topic has 5 replies on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 27
  • Guests : 128

About Sun forums
  • Oracle Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Oracle Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums