Run eclipse on sunos 5.8 sparc

1. download eclipse ver. 3.3.1 : http://download.eclipse.org/eclipse/downloads/drops/R-3.3.1.1-200710231652/eclipse-SDK-3.3.1.1-solaris-gtk.zip

2. unzip it , check lib it used:

# ldd ./eclipse/eclipse                                                      
        libgtk-x11-2.0.so.0 =>   /usr/local/lib/libgtk-x11-2.0.so.0          
        libgdk_pixbuf-2.0.so.0 =>        /usr/local/lib/libgdk_pixbuf-2.0.so.0
        libgobject-2.0.so.0 =>   (file not found)                            
   gtk  libgdk-x11-2.0.so.0 =>   /usr/local/lib/libgdk-x11-2.0.so.0          
   glib libglib-2.0.so.0 =>      (file not found)                            
        libthread.so.1 =>        /usr/lib/libthread.so.1                     
        libdl.so.1 =>    /usr/lib/libdl.so.1                                 
        libc.so.1 =>     /usr/lib/libc.so.1                                  
        libX11.so.4 =>   /usr/lib/libX11.so.4                                
        libsocket.so.1 =>        /usr/lib/libsocket.so.1                     
        libnsl.so.1 =>   /usr/lib/libnsl.so.1                                
        libpangox-1.0.so.0 =>    /usr/local/lib/libpangox-1.0.so.0           
  pango libpango-1.0.so.0 =>     /usr/local/lib/libpango-1.0.so.0            
    atk libatk-1.0.so.0 =>       (file not found)                            
        libgobject-2.0.so.0 =>   (file not found)                            
        libgmodule-2.0.so.0 =>   (file not found)                            
        libglib-2.0.so.0 =>      (file not found)                            
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2                
        libm.so.1 =>     /usr/lib/libm.so.1                                  
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1                
        libgmodule-2.0.so.0 =>   (file not found)                            
        libgobject-2.0.so.0 =>   (file not found)                            
        libglib-2.0.so.0 =>      (file not found)                            
        libXext.so.0 =>  /usr/lib/libXext.so.0                               
        libgobject-2.0.so.0 =>   (file not found)                            
        libgmodule-2.0.so.0 =>   (file not found)                            
        libglib-2.0.so.0 =>      (file not found)                            
        libmp.so.2 =>    /usr/lib/libmp.so.2                                 
        libgobject-2.0.so.0 =>   (file not found)                            
        libgmodule-2.0.so.0 =>   (file not found)                            
        libglib-2.0.so.0 =>      (file not found)                            
        libintl.so.3 =>  (file not found)                                    
        libgobject-2.0.so.0 =>   (file not found)                            
        libgmodule-2.0.so.0 =>   (file not found)                            
        libglib-2.0.so.0 =>      (file not found)                            
libintl libintl.so.3 =>  (file not found)                                    
        /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1   

3. we need some lib
download from:
http://mirrors.easynews.com/sunfreeware/sparc/5.8/glib-2.6.2-sol8-sparc-local.gz
http://mirrors.easynews.com/sunfreeware/sparc/5.8/atk-1.9.0-sol8-sparc-local.gz
http://mirrors.easynews.com/sunfreeware/sparc/5.8/libintl-3.4.0-sol8-sparc-local.gz
http://mirrors.easynews.com/sunfreeware/sparc/5.8/pango-1.8.0-sol8-sparc-local.gz
http://mirrors.easynews.com/sunfreeware/sparc/5.8/gtk-2.2.4-sol8-sparc-local.gz

4. unzip the files and install it:
gunzip xxxx.gz
pkgadd -d ./xxxx

5. download jre jre-1_5_0_14-solaris-sparc.sh

chmod a+x jre-1_5_0_14-solaris-sparc.sh
./jre-1_5_0_14-solaris-sparc.sh

6. setup env. and enjoy it. enlarge the memsize in eclipse.ini if you like.

export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
export DISPLAY=192.168.198.74:0.0          
./eclipse/eclipse -vm ./jre1.5.0_14/bin/java  

你可能感兴趣的:(eclipse,Solaris,sun)