IBM Support

Command line execution of RFT Test Script results in error: "JVMJ9VM007E Command-line option unrecognized"

Technote (troubleshooting)


Attempts to execute a IBM Rational Functional Tester ( RFT) Script via command line results in error: "JVMJ9VM007E Command-line option unrecognized"


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.


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

Document information

More support for: Rational Functional Tester
Test Execution

Software version:,, 8.5,, 8.5.1,,

Operating system(s): Windows

Reference #: 1666832

Modified date: 11 August 2014