I have an RCP product which doesn\'t run. Then I installed Eclipse freshly, and when I open Eclipse.exe it doesn\'t open Eclipse IDE. I get the error: NoClassDefFoundError:
I had the same error. So, I found next solution :
Go to folder with eclipse.exe. and open configuration file
After that delete line "-vmargs" and add Your path to JDK (In my occasion is C:\Program Files\Java\jdk1.7.0_79\bin)
I have faced the same issue. Uninstall all the java version you have on your machine from control panel. Then re-install the java and try launching eclipse. it works for me.
I think that the problem could be that the mercury "bundle" is somehow referenced but not in the classpath.
Check if virtual machine is running properly or not. If not uninstall and re-install jdk.
i know this question has been asked a long before,i am answering because if somebody later views this question then they will get idea how to do it
as @java programmer said ,eclipse looks for the default location C:\Java\jdk1.6.0_33\jre\bin\javaw.
you can also manually set the path if your java is installed in some other path. the way is simple search for eclipse.ini file and open it with wordpad. Now search for "open file" below that write the full path for the javaw. see the screen shot. for example if your java is installed in c drive then the full path for javaw would be
C:\Program Files\Java\jdk1.6\bin\javaw.exe
now save the file eclipse.ini and now double click on eclipse.exe. It will run .
QTP installation mess up with classpath of many applications.
Recommending setup a batch file to run each time so the global setup is not modified.
set IBM_JAVA_OPTIONS=
set _JAVA_OPTIONS=
set JAVA_TOOL_OPTIONS=
cd [your eclipse.exe]
eclipse.exe
Save it as .bat file and double click to run. You should see the eclipse working.