SAP Knowledge Base Article - Preview

2022286 - System copy, export: Cannot run - Invalid program name *or* CreateProcess error=2


The export of a database using SWPM/migmon fails with an error.
The export monitor shows

UNIX based OS:


/<path to SAPJVM>/sapjvm_6/bin/java -Xmx2048m -cp

./.:./migmon.jar:./activation.jar:./mail.jar -Xmx2048m -dbType ora Cannot run - Invalid program name.

 at java.lang.UNIXProcess.forkAndExec(Native Method)

 at java.lang.UNIXProcess.access$500(

 at java.lang.UNIXProcess$1$


Windows OS:


D:\migtool>"D:\sapjvm_6\bin\java.exe" -Xmx1024m -

cp ".\.;.\migmon.jar;.\activation.jar;.\mail.jar"

SecureStartup "-Xmx1024m" -

Djdk.lang.Process.allowAmbigousCommands=true -dbType o

ra -javaversion

java version: 1.6.0_75

java vendor: SAP AG

SAP AG(build 6.1.068 24.55-b13, Jun 22 2014 00:31:35 - 61_REL - optU -

windows amd64 - 6 - bas2:220276 (mixed mode)) CreateProcess error=2, The system cannot find the

file specified

at java.lang.ProcessImpl.create(Native Method)

at java.lang.ProcessImpl.<init>(

at java.lang.ProcessImpl.start(

at java.lang.ProcessBuilder.start(

at java.lang.Runtime.exec(




UNIX and Windows based operating system


System copy, export, IOException, invalid, export monitor, UNIXProcess, CreateProcess, SWPM, sapinst, migmon , KBA , BC-INS-SWPM , Installation with Software Provisioning Manager , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.