Make sure you have javac on the path and JAVA_HOME is pointing to it’s jdk install dir.

 

Cezar

 


From: Ziv Zeira [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 1:59 PM
To: [email protected]
Subject: xmlbeans 2.1.0 NOT WORKING!!! on windows ?

 

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

 

 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Reply via email to