Why i am using java from IBM?
It is a little stable than java from sun(oracle now) :)
1.download jdk from IBM
http://www.ibm.com/developerworks/java/jdk/
A. tar xzvf
B.add config to env
sudo vim /etc/environment
JAVA_HOME=/opt/ibm-java-i386-60/jre
CLASSPATH=$JAVA_HOME/lib
2.download eclipse-cpp-galileo-SR1-linux-gtk.tar.gz
cd /opt/
tar xzvf *.gz
3.change jre for eclipse
sudo gedit /opt/eclipse/eclipse.ini
modify as:
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
-product
org.eclipse.epp.package.cpp.product
-showsplash
org.eclipse.platform
-vm
/opt/ibm-java-i386-60/jre/bin/java
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx256m
4.install cdt in eclipse