One Star

Could not create the Java virtual machine.

When running my job i recieved this error in the output view.
"Could not create the Java virtual machine.
Unrecognized option: -"
and this warning message, with no stack trace in the error log:
"2010-08-30 14:27:16,842 INFO org.talend.designer.runprocess.Processor - Command line: C:/Program Files/Java/jre6/bin/java.exe - -cp C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java/dom4j-1.6.1.jar;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java/jsr173_1.0_api.jar;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java/jxl.jar;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java/log4j-1.2.9.jar;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java/mysql-connector-java-5.1.0-bin.jar;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java/ooxml-schemas-1.0.jar;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java/poi-3.5-FINAL-20090928.jar;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java/poi-ooxml-3.5-FINAL-20090928.jar;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java/xmlbeans-2.3.0.jar;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2a/workspace/.Java/classes;C:/_Chris/Talend/TOS-Win32-r43696-V4.0.2/lib/java; springhill.step2_importdcc_0_1.Step2_ImportDCC --context=Default --stat_port=3650 %*"
Can anyone help? I did do some editing of the jvm args in the ini file, but I reset them to the default and the problem persists.
Chris
1 REPLY
One Star

Re: Could not create the Java virtual machine.

Command line: C:/Program Files/Java/jre6/bin/java.exe - -cp
could it be the - - in front of cp? My .bat or .sh only has one.