Installing SunStudio

i downloded the file SunStudio12u1-SunOS-x86-pkgs-ML.tar.bz2 on my vista and transfered it to a virtuak machine on my laptop running Sun Solaris 10.5 in a directory. How do i go about installing it from this directory.Can someone give the exact commands.

This process is detailed in the Sun Studio 12 Update 1 Installation Guide:
http://dlc.sun.com/pdf/820-7601/820-7601.pdf

it is easy

extarct from archive using gunzip and tar commands

then login as root using su command

then make apply chmod a+x command od .sh installation script

run script using ./file.sh and follow GUI wizzard

That would be bunzip2 instead of gunzip for a .bz2 file.

He can't run bunzip2 on vista. Instead you can use WinRar to extract the file

There is no SunStudio for Vista. The file is to be installed on the OP Solaris virtual machine where bunzip2 is available.

Not sure if bunzips is included in Solaris 10 for x86 or not, if it is not the you can download it from:
Freeware List for Intel and Solaris 10

You can then run:

# /usr/local/bin/bunzip2 SunStudio12u1-SunOS-x86-pkgs-ML.tar.bz2
# tar xvf SunStudio12u1-SunOS-x86-pkgs-ML.tar

I had to install a more up to date copy of Java when I installed Sun Studio 12 for sparc to support the IDE.

Bunzip2 is part of the SUNWbzip package which is included with Solaris 10 (x86 or SPARC doesn't matter here).