Fix Error: could not find Java SE Runtime Environment – Eclipse

Ah the infamous Java classpath and referencing issues!

A quick a solution:

[box]

  • Go to you eclipse directory
  • Open eclipse.ini file
  • At the end of the file paste the following:

openFile
-vm

C:Program FilesJavajre6binjavaw.exe

-vmargs

-Xms40m

-Xmx512m

Of course this is Java on a 64bit machine, if you are running 32 bit windows, you can navigate to the Program File (x86)..

[/box]

"Turkey