Command line execution of RFT Test Script results in error: "JVMJ9VM007E Command-line option unrecognized"
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.
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
More support for:
Rational Functional Tester
Software version: 184.108.40.206, 220.127.116.11, 8.5, 18.104.22.168, 8.5.1, 22.214.171.124, 126.96.36.199
Operating system(s): Windows
Reference #: 1666832
Modified date: 11 August 2014