Dienstag Sep 02, 2008

Sun Studio 12 IDE on Debian GNU/Linux

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).

SDN All Access Kit

Type 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

The 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

Start the install wizard: 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'.
About

Sun Campus Ambassador,
University of Frankfurt (Germany)

Search

Categories
Archives
« April 2014
MoDiMiDoFrSaSo
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Heute