I want to set java path to a specified java directory in eclipse, not the default installed java path. I want to run eclipse by using java from my specified path. But all the time eclipse runs by using the default installed java path. I have specified the Path in the "eclipse.ini" file but this path is not used by eclipse to run.. Please hep me... This is my "eclipse.ini" file
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.adtproduct
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/home/bibin/Documents/ADTBUNDLE/jdk1.6.0_17/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms512m
-Xmx1024m