How to install Sun Studio 12 on Ubuntu

Asked by jim

How do I go about installing Sun Studio 12 on Ubuntu 7.04?

Sun recommends their installer.

Does anybody have any experience with this or the standard method?

Jim

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
williamts99
Solved:
Last query:
Last reply:
Revision history for this message
williamts99 (williamts99) said :
#1

You may want to have a look at http://blogs.sun.com/richb/entry/trying_out_the_sun_studio

Best Regards,
Williamts99

Revision history for this message
jim (send2jop) said :
#2

Thank you very much.
I will try it out on Thursday and see how it goes.

I will let you know as soon as I find out.

Thanks again,

Jim

>From: williamts99 <email address hidden>
>Reply-To: williamts99 <email address hidden>
>To: <email address hidden>
>Subject: Re: [Question #9540]: How to install Sun Studio 12 on Ubuntu Date:
>Thu, 12 Jul 2007 07:30:05 -0000
>
>Your question #9540 on Ubuntu changed:
>https://answers.beta.launchpad.net/ubuntu/+question/9540
>
> Status: Open => Answered
>
>williamts99 proposed the following answer:
>You may want to have a look at
>http://blogs.sun.com/richb/entry/trying_out_the_sun_studio
>
>Best Regards,
>Williamts99
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https://answers.beta.launchpad.net/ubuntu/+question/9540/+confirm?answer_id=0
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https://answers.beta.launchpad.net/ubuntu/+question/9540
>
>You received this question notification because you are a direct
>subscriber of the question.

_________________________________________________________________
Local listings, incredible imagery, and driving directions - all in one
place! http://maps.live.com/?wip=69&FORM=MGAC01

Revision history for this message
jim (send2jop) said :
#3

Ok, this basic stuff is irritating.

I downloaded two objects:

SunStudio12PrepSys-linux-x86-200705.tar.bz2
and
SunStudio12-linux-x86-200705-ii.tar.bz2

I attempted to unpack the first archive and had problems right off the bat:

root@ubuntu:/home/jim/SS12Doc# tar xjvf SunStudio12PrepSys-linux-x86-200705.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2

I am trying the install as "root" and have also opened the permissions wide (777).

Any ideas???

Jim

Revision history for this message
jim (send2jop) said :
#4

Still not working...

I tried the explicit command listed on the Sun site:

root@ubuntu:/home/jim/SS12Doc# bzcat SunStudio12PrepSys-linux-x86-200705.tar.bz2 | /bin/tar -xf -
bzcat: SunStudio12PrepSys-linux-x86-200705.tar.bz2 is not a bzip2 file.

???

Jim

Revision history for this message
Best williamts99 (williamts99) said :
#5

My guess would be that the file is corrupt, if they provide and md5sum you can test it, or download it again.

or try tar yxf SunStudio12PrepSys-linux-x86-200705.tar.bz2

Best Regards,
Williamts99

Revision history for this message
jim (send2jop) said :
#6

Finally, I have downloaded and unpacked both of the archives:

SunStudio12-linux-x86-200705-ii.tar.bz2
SunStudio12PrepSys-linux-x86-200705.tar.bz2

I unpacked them into /usr and the appropriate subdirectories appear to be created.

I will attemp to run the following to check for and install preqequisite software on Friday:

     /usr/SS12_prep_system/prepare_system -C

Hopefully, that will run without incident and I will be ready to go.

I am doing all of this as "root".

Thanks,
Jim

I will acknowledge it as solved as soon as I can verify the application works...
I will do that as soon as I can...I have several things going on and am not able to devote all of my time to this task.

Revision history for this message
jim (send2jop) said :
#7

This morning, Friday the 13th, is a good morning!
I first ran: /usr/SS12_prep_system/prepare_system -C

I was told that netbeans was not found.
However, the README file had indicated that it might say this and to ignor it.

I tried to use ./prepare_system -s java to install the jdk, but this does not work on Ubuntu.

So, I used the Synaptic PM and installed: sun-java6-jdk (6-00-2ubuntu2)

I had previously installed: sun-java6-jre (6-00-2ubuntu2) (and other related packages)

I modified PATH and MANPATH as described in the "Sun Studio 12 Tarfile README".

Now, when I issue the command: sunstudio GUI appears and behaves as I would expect.

I will now begin to check out the other behaviors.

However, this problem now appears to be solved.

Thanks: Williamts99 for your help.

Jim

Revision history for this message
jim (send2jop) said :
#8

Thanks williamts99, that solved my question.