getiing error while genetrating jar file with xml beans with scomp command
843834Aug 1 2008 — edited Aug 21 2008Hi ,
I am using XmlBeans version 2.4.0-r670094 with jdk1.5 ,
i am trying to generate java classes with given xsd's command is ----scomp -out emplo.jar any.xsd
but getting below error
Time to build schema type system: 1.953 seconds
Time to generate code: 0.125 seconds
java.io.IOException: Cannot run program "C:\\javac": CreateProcess error=2, The system cannot find the file specified
java.io.IOException: CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program "C:\\javac": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil.java:231)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1154)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:373)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 6 more
BUILD FAILED
any solution for this