I just downloaded Eclipse as archive, and installed newest 64 bit Java and 64 bit Java Development Kit 15. And i get this error. Installed JDK 11 after, the same error.
I got it resolved by adding the vm parameters in the eclipse configuration file at the top.