One of the reason for this error is due to different JRE used by the Eclipse IDE and the System environment variable settings for JAVA_HOME. Edit the environment variable JAVA_HOME and set it to the same JRE used by Eclipse IDE. Close and reopen the Eclipse IDE will resolve the hanging or taking long time to load.
You will notice a glimpse of Initializing Java Tooling and it will complete soon without any error.
2 comments:
Thanks so much for your tip. It was really useful. Is there any way to work with different JREs without that error?
Hi Julio, in short yes you can configure the JRE to use to build and compile your projects in eclipse. Right click the projects and select Builders/Java Compiler or so to create a new builder or configure your compiler you want.
Hope this helps.
Post a Comment