NOTE: THERE IS CURRENTLY AN ISSUE WITH THE ECLIPSE INSTALLER WHERE IF JAVA 7 IS NOT INSTALLED ON THE SYSTEM IT WILL NOT COMPLETE PROPERLY. IT WILL ERROR OUT WITH A JAVA INSTALLER ERROR. To get around this, install Java 7, run the Eclipse server installer/config tool (so it can detect that Java 7 is installed and not try to install it), and then uninstall Java 7 after the install is complete. It should NOT make any changes to the settings below, and you shouldn't have to repeat the steps.
After updating Java from version 7 to a later version, an error is displayed when searching in Eclipse.
Unable to communicate with the indexing engine on the server. Please contact support.
This error is due to Apache Tomcat referencing the old Java installation path for the jvm.dll, which no longer exists. The Apache Tomcat 7.0 service will not be able to be started, and an error will be logged in the Windows Event Viewer.
The Apache Tomcat 7.0 Tomcat7 service terminated with the following service-specific error:Incorrect function.
This issue can be resolved by updating the Apache Tomcat configuration with the location of the current Java jvm.dll. You will need to know what the current path to the jvm.dll file is before starting. In this example, the path has changed from C:\Program Files\Java\jre7\bin\server\jvm.dllto C:\Program Files\Java\jre1.8.0_45\bin\server\jvm.dll with the latest version of Java (Version 8 Update 45).
1. Browse to and launch the Apache Tomcat configuration utility. C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\Tomcat7w.exe
2. Click the Java tab.
3. Edit the Java Virtual Machine path to the path of your current jvm.dll C:\Program Files\Java\jre1.8.0_45\bin\server\jvm.dll (the path might not match up with this example. There could be a client instead of server subfolder)
4. Apply the changes and restart the Apache Tomcat 7.0 service. The service should start successfully, and within a few minutes, index searching will begin working in Eclipse.