Take a peek at this FAQ entry
http://wiki.apache.org/xmlbeans/XmlBeansFaq#scompFindingJavac
and let the list know if you are still having problems.
-jacobd

On Thu, Apr 9, 2009 at 7:14 AM, luca paganotti <[email protected]> wrote:
> Hello all,
>
> i'm totally new to xmlbeans and trying to run the examples in the tutorial.
> I'm on xp windows box. When I run
>
> scomp -verbose -out .\easypo.jar .\easypo.xsd
>
> scomp complains with these messages
>
> Apache Software Foundation, org.apache.xmlbeans.XmlBeans version
> 2.4.0-r670094
> Loading schema file .\easypo.xsd
> Time to build schema type system: 0.438 seconds
> Time to generate code: 0.156 seconds
> compile command: C:\xmlbeans-2.4.0\schemas\
> javac @C:\DOCUME~1\pag\IMPOST~1\Temp\javac8024920815353192545
> BUILD FAILED
>
> on the terminal I've more informations and among other I have:
>
> ...
> java.io.IOException : Cannot run program "C:\xmlbeans-2.4.0\schemas\javac":
> CreateProcess error=2, Impossibile trovare il file specificato
> ...
>
> this message is in italian but it can be translated to english as 'Cannot
> find the specified file'
>
> and I agree with this as javac in general is not located in
> c:\xmlbeans-2.4.0\schemas so why scomp searches for it there?
>
> My path environment variable contains all that's needed, I can succesfully
> run java, javac, etc from anywhere and run binaries in the bin folder of
> xmlbeans as well, more my XMLBEANS_HOME environment variable is correctly
> set to c:\xmlbeans-2.4.0 ...
>
> Surely I'm missing something trivial ... but I don't know what ...
>
> Any help will be appreciated
>
> Thanks in advance
>
> --------------------------------------------------------------
> -- Dott. Ing. Luca Paganotti
> -- Via M. Chiesa 2
> -- 21040 Vedano Olona (VA)
> -- 393 1346898
> --------------------------------------------------------------
> -- sourceforge email:
> -- [email protected]
> --------------------------------------------------------------
> --
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to