In rft 7.0, When you click the debug button, the rft console reports an error. The error message is as follows:
Jvmj9ti002e agent_onload not found in library jdwp
Jvmj9vm015w initialization error for library j9jvmti23 (-3): jvmj9vm009e j9vmdllmain failed
A Java virtual machine cannot be created.
Then, the rft prompts that an information prompt box cannot be displayed. It is suggested that the Java build path be restored and the VM cannot be connected.
After multiple searches, I finally found a solution in the IBM community. The root cause of the problem is the JDK conflict. On my machine, the JDK of Oracle conflicts with the JDK of rft. The solution is as follows:
Go to the C:/program files/Oracle/JRE/1.3.1/bin/directory, which contains a jdwp. dll file, and delete or rename the file. After the modification is completed, go to rft again, and the debug function can be used normally.
Note that C:/program files/Oracle/JRE/1.3.1/bin/is not the installation directory of Oracle. For example, the installation directory of Oracle on my local machine is D, so what we need to modify is not the file on the d disk, but the Oracle directory under the Windows XP system program files. Remember.
First, modifying jdwp. dll will not affect the use of oracle. The network is related to jdwp. not many DLL files are introduced. I just know that jdwp defines the communication protocol between the JVM and the debugging client. Here we will judge the jdwp of oracle. DLL files are also related to the debug function.
IBM rft uses its own JDK. I checked the JDK version and found it was 1.5. However, the jar packages and Class Libraries under this JDK are completely different from those of Sun's JDK. After I replace JDK in myeclipse with JDK of rft, you can also edit the rft script in myeclipse and call related methods, but you cannot run the rft script in myeclipse.