1 Reply Latest reply on Jul 8, 2008 3:42 AM by Denis Golovin

    Eclipse error

    Murali rao Newbie

      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.



        • 1. Re: Eclipse error
          Denis Golovin Master

          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.exe
          so 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