Tuesday, August 18, 2020

Eclipse ---- An error has occurred. See the log file E:\Selenium\.metadata\.log.

Eclipse
---------------------------
An error has occurred. See the log file
E:\Selenium\.metadata\.log.
---------------------------
OK   

Solutions
1. Delete metadata folder in Eclipse folder and restart eclipse. It should work.

If the error message exists again follow the below steps

1. Uninstall the Java Installations
2. search java from Oracle website, download and install  jdk-14.0.2.
3. Remove existing eclipse and install Eclipse IDE for developers
4. Restart eclipse
It should work, else
open eclipse.ini and above vmargs statement enter the installation path C:\Program Files\Java\jdk-14.0.2
5. Open Environment variables through control panel and update the Java_Home, Path, SystemPath to C:\Program Files\Java\jdk-14.0.2
It should work

Error: Could not create the Java Virtual Machine.

 ---------------------------

Java Virtual Machine Launcher

---------------------------

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

---------------------------

OK   

--------------------------------------------------------------------------------------------------------------------

To resolve the above issue that occurs while opening eclipse, 

1. Open Eclipse.ini file from eclipse folder.

2. Above -vmargs statement enter -vm C:\Program Files\Java\jdk-14.0.2\bin

save and close. Open eclipse again the issue should be resolved.