By Igor Geier on Sep 02, 2008
I have installed the Sun Studio 12 IDE on Debian Etch recently. With a slow internet connection, you don't want to always download everything, and I have some of the SDN All Access Kits (the 10/2007 version) for giving away to students. The kit consists of two DVDs, with Sun Studio 12 (20070730) and a lot of other software on them. On Debian GNU/Linux, we need some magic if we want to get the install wizard to work (there are other versions, I know).
su in a terminal window and become root. Change to the Sun Studio directory on the DVD and Copy the
Linux directory to root's home:
cp -r Linux ~ (do not use GNOME's file manager).
Install the Java Platform SE 6, I used the Java SE Development Kit 6 from one of the DVDs (copy it to root's home, extract, copy the extracted directory to
/usr/java). Install additional Debian packages:
apt-get install gawk alien libc6-dev
alien package will give us the
rpm command (RPM Package Manager),
rpm is needed during the installation. The installer assumes it to be in the
/bin directory, therefore create a link:
ln -s /usr/bin/rpm /bin/rpm
cd ~/Linux && ./installer(now it should work). In the components window, uncheck Sun Studio 12 Performance Library ML (otherwise the installation will not complete, any ideas?). Leave everything else as it is and click '->' until you see a 'Close' button. Click 'Close'.