this assumes you have already unzipped the proper eclipse version
creating Launcher script as follows:
sudo vi /usr/share/applications/eclipse.desktop
sudo ln -s ~ /programs/eclipse/eclipse-juno-sr2/eclipse /usr/bin/eclipse
contents of eclipse.desktop
[Desktop Entry]
Version=4.2
Name=Eclipse
GenericName=Text Editor
Exec=eclipse
Terminal=false
Icon=/home/rajesh/programs/eclipse/eclipse-juno-sr2/icon.xpm
Type=Application
Categories=IDE; Development
X-Ayatana-Desktop-Shortcuts=NewWindow
[NewWindow Shortcut Group]
Name=New Window
Exec=eclipse -n
TargetEnvironment=Unity
rename eclipse.ini to eclipse.ini.orig and replace its contents as follows
check for proper jvm.dll or jvm.so as follows
-nosplash
--launcher.defaultAction
openFile
-vm
/home/rajesh/programs/java/jdk1.7.0_15/jre/lib/amd64/server/libjvm.so
-vmargs
-Xincgc
-Xss1m
-Duser.name=Rajesh Rao
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.7
-Declipse.p2.unsignedPolicy=allow
-Declipse.p2.MD5Check=false
-Xms128m
-Xmx2048m
-XX:NewSize=16m
-XX:PermSize=120m
-XX:MaxPermSize=300m
-XX:MaxPermHeapExpansion=20m
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=70
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+UseParNewGC
-XX:+CMSConcurrentMTEnabled
-XX:ConcGCThreads=2
-XX:ParallelGCThreads=2
-XX:+CMSIncrementalPacing
-XX:CMSIncrementalDutyCycleMin=0
-XX:CMSIncrementalDutyCycle=5
-XX:GCTimeRatio=49
-XX:MaxGCPauseMillis=20
-XX:GCPauseIntervalMillis=1000
-XX:+UseCMSCompactAtFullCollection
-XX:+CMSClassUnloadingEnabled
-XX:+DoEscapeAnalysis
-XX:+UseCompressedOops
-XX:+AggressiveOpts
-XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses