SunStudio is an Integrated Development Environment (IDE)

Sun supports rpm-based distributions only. So the delivered installer will not work with debian. Nevertheless Sun provides a product tarfile that can extracts the installed version of SunStudio software. When you choose to install SunStudio by this way, you do not need root access to your system to install it.

If you prefer to install a debian package (.deb) of SunStudio, you have to create it from the rpm provided by Sun. To do so, do the following for installation:

mkdir SunStudio12-linux-x86-200705-pkg
mv SunStudio12-linux-x86-200705-pkg.tar.bz2 SunStudio12-linux-x86-200705-pkg
cd SunStudio12-linux-x86-200705-pkg/
tar -xjvf SunStudio12-linux-x86-200705-pkg.tar.bz2

less README.txt
cd install-intel-Linux/packages-intel-Linux/

fakeroot alien *.i386.rpm *.noarch.rpm *.i586.rpm
sudo dpkg -i *.deb

One error message occurs during the installation:

dpkg: error processing sun-mrlnx_12.0-2_i386.deb (--install):
 trying to overwrite `/opt/sun/sunstudio12/prod/man/man1/version.1', which is also in package sun-mrcom

Netbeans is shipped as binary installer, not using the packaging system. Therefore using these installers is not recommended.

We are still missing the cpp support for netbeans at this point for SunStudio to run.