iam using eclipse...iam getting this error....JRE or JDK ismust availabe in order to run eclipse.No java virtual machine was found searching the following location C:\eclipse2\eclipse\jre\bin\javaw.exe.
How to reset the classpath in the environment varaibles which i have changed.
it seems eclipse.exe couldn't find java.exe. You can either renistall JRE or add it path to java.exe in <eclipse-home>/eclipse.ini file as
-vm c:/path-to-java-home/bin/java.exeso your eclipse ini file could look like this:
-vm c:/path-to-java-home/bin/java.exe -debug -showsplash org.eclipse.platform -vmargs -Xms512M -Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M