Troubleshooting
Problem
Attempts to execute a IBM Rational Functional Tester ( RFT) Script via command line results in error: "JVMJ9VM007E Command-line option unrecognized"
Symptom
The command executed from Windows command prompt :
C:\Users\IBM_ADMIN>"C:\Program Files (x86)\IBM\SDP\jdk\jre\bin\java" - classpath "C:\Program Files (x86)\IBM\SDP\FunctionalTester\bin\rational_ft.jar" com.rational.test.ft.rational_ft -datastore "C:\Users\IBM_ADMIN\IBM\rationalsdp\workspace\Project5" -playback ClassicJavaA -log ClassicJavaA
Resulted Error message :
JVMJ9VM007E Command-line option unrecognised: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Cause
The provided command line option is not recognized as valid, hence JVM terminates.
Resolving The Problem
Verify the command provided and confirm that extra spaces or typo errors are not included in between the command line arguments.
For example:
No space in between '-' and 'classpath' as depicted in the above screen shot.
A working sample command line execution code is given below:
"%IBM_RATIONAL_RFT_ECLIPSE_DIR%\jdk\jre\bin\java" -classpath "%IBM_RATIONAL_RFT_INSTALL_DIR%\rational_ft.jar" com.rational.test.ft.rational_ft -datastore "C:\Users\IBM_ADMIN\IBM\rationalsdp\workspace\Project1" -playback ClassicJavaA -log ClassicJavaA_log
Was this topic helpful?
Document Information
Modified date:
05 December 2018
UID
swg21666832