Tuesday, September 18, 2012

Eclipse failed to create virtual machine

I have downloaded the Scala IDE based on Eclipse here http://typesafe.com/stack/scala_ide_download


When I run it by double clicking on "Eclipse.exe", I get "Eclipse failed to create virtual machine".

Just open eclipse.ini, and add these 2 lines at the top:
-vm
C:\Program Files\Java\jre6\bin\javaw.exe
(your mileage might vary)


Another good reason to shun Eclipse - I didn't need a new one, I already had thousands.


No comments: