IBM Support

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

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

[{"Product":{"code":"SSJMXE","label":"IBM Rational Functional Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Test Execution","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.3.0.1;8.3.0.2;8.5;8.5.0.1;8.5.1;8.5.1.1;8.5.1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
05 December 2018

UID

swg21666832