Hi everybody,

xmlbeans 2.1.0 on windows NOT WORKING!!!???

 

I went through all the instructions and filled each one of them…

However, for some reason I'm constantly getting the following error:

C:\Documents and Settings\ziv.zeira>scomp -out asaf.jar C:\XMLbeans\xmlbeans-current\xmlbeans-2.1.0\samples\MixedContent\schemas\inventory.xsd

Time to build schema type system: 0.935 seconds

Time to generate code: 0.218 seconds

java.io.IOException: CreateProcess: "C:\Documents and Settings\ziv.zeira\javac"@C:\DOCUME~1\ZIV~1.ZEI\LOCALS~1\Temp\javac5736 error=2null java.io.IOException: CreateProcess: "C:\Documents and Settings\ziv.zeira\javac"@C:\DOCUME~1\ZIV~1.ZEI\LOCALS~1\Temp\javac5736 error=2

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

        at java.lang.ProcessImpl.<init>(Unknown Source)

        at java.lang.ProcessImpl.start(Unknown Source)

        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:1126)

        at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:368)

BUILD FAILED

C:\Documents and Settings\ziv.zeira>

 

 

I can't find anything wrong with environment variables or any other environment problems for that matter.

I also went through a suggested solution on the FAQ page which is suggesting moving the JDK files one level up:

http://wiki.apache.org/xmlbeans/XmlBeansFaq#scompFindingJavac

 

 

Reply via email to