Accepted answer

then i installed eclipse freshly, and when i open eclipse.exe it doesn't open eclipse ide

the same eclipse archive when unzipped on a different machine works fine

that should mean a workspace issue: eclipse try to recreate a view for which the jar is missing.
try to launch your eclipse with '-clean' option, and making sure it does reference a fresh new workspace (with the -data option, like illustrated in this eclipse.ini)

this question illustrated a clean start:

eclipse.exe -clean --launcher.ini path\to\my_eclipse.ini

regarding qtp, check this article from ibm, which describes a similar situation.

in this scenario hp mercury quick test pro professional v9.3 was installed and the following microsoft windows xp user and system environmental variables were present:

ibm_java_option and _java_option

each was set to:

-xrunjvmhook -xbootclasspath/a:c:\progra~1\hp\quickt~1\bin\java_s~1\classes;c:\progra~1\hp\quickt~1\bin\java_s~1\classes\jasmine.jar

or more explicitly:

-xrunjvmhook -xbootclasspath/a:c:\progra~1\hp\quicktest professional\bin\java_shared\classes;c:\progra~1\hp\quicktest professional\bin\java_shared\classes\jasmine.jar

note: hp mercury diagnostic tool is another product that used these environment variables in the past. contact hp support if up to date information and support is needed on their products.

however it is important to stress the focus is on these environment variables being used dangerously by any vendor product or any software or user in general setting them directly

resolving the problem
delete or clear the values of the ibm_java_option and _java_option variables.

after deleting/clearing the environment variables, it should be possible to start rational application developer or other ibm sdk for java (== jdk) based product.

note: deleting or clearing these variables may prevent the other products (such as the aforementioned hp products) from working.

warning: deleting or clearing or changing ibm_java_option or _java_option should be done with caution if these are needed settings. there are legitimate and safe uses of these environment variables to set jvm options.

if this is indeed the case, that reminds me of my answer to the question:

"why doesn’t the java sdk installer set java_home?"


if you want both eclipse and qtp to coexist, you need to make sure any running configuration you may have (in or outside eclipse) needing to run "with" qtp are the scripts which set those extra variables (_java_home or other).
if those variables are set globally (by the qtp installation process itself)... bad things can happens.


i think that the problem could be that the mercury "bundle" is somehow referenced but not in the classpath.


if eclipse is not running for example when you double click on the eclipse.exe then the eclipse appears for few seconds and disappears,in this case go to command prompt then migrate to eclipse folder and type eclipse -vm c:\java\jdk1.6.0_33\jre\bin\ is because eclipse by default looks for this my case it is running after i made this way.if your jdk is installed in program files then from program files copy the java folder and past in c drive.


if eclipse is not running for example when you double click on the eclipse.exe, then eclipse appears for few seconds and disappears:

  1. go to environment variables
  2. clear the java options and ibm.
  3. try to open the eclipse.


check if virtual machine is running properly or not. if not uninstall and re-install jdk.


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.


for me, removing -agentlib:jvmhook from java_tool_options worked.


create a batch file clearing the variables and run the rad.

set ibm_java_options=
set _java_options=
set java_tool_options=
"c:\program files\ibm\rad85\eclipse.exe" -product


i had the same error. so, i found next solution :

  1. go to folder with eclipse.exe. and open configuration file

    enter image description here

  2. after that delete line "-vmargs" and add your path to jdk (in my occasion is c:\program files\java\jdk1.7.0_79\bin)

    enter image description here

    1. now your eclipse should start normally.


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 .

enter image description here


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]

save it as .bat file and double click to run. you should see the eclipse working.


check the java_tool _options variable. it probably has a value of "-agentlib:jvmhook". clear the variable and eclipse based products should start working.

you'll probably need to update your hp qt launcher to set this variable when you want to do profiling.

Related Query

More Query from same tag