Friday, April 7, 2017

Eclipse - Setup - How to set java for during eclipse start up

Description
I faced starting up Eclipse IDE which complaining about old java version. The java version in my environment was 1.6 which is needed to run old programs. I installed Java 8 did below thing to make it work.

Environment:
Eclipse version - neno.3
Old java version - 1.6.0_29
New Java version - 1.8.u111

Steps to follow:

  1. Find and write down the Java 8 installation location (for me, it was in e:\java\)
  2. Go to location where eclipse is installed
  3. Open file 'eclipse.ini' with any file editor
  4. Type the below lines - (change the java path)
    -vm
    e:\Java\jdk1.8_u111\bin\javaw.exe
  5. Save the change
  6. Execute the eclipse.exe


No comments: