You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-user@xml.apache.org by Faraz Khan <in...@yahoo.com> on 2004/06/15 23:02:16 UTC

'javac' required on the path

Hi everyone,
I am trying to use xmlbeans. I believe I have done everything correctly. However I keep getting this error.
 
 
C:\>java org.apache.xmlbeans.impl.tool.SchemaCompiler Binderproducts\xmlbeans-1.
0.2\schemas\easypo\easypo.xsd
Time to build schema type system: 1.25 seconds
Time to generate code: 0.313 seconds
'javac' is required on the path.
java.io.IOException: CreateProcess: C:\\javac @C:\DOCUME~1\fkhan\LOCALS~1\Temp\j
avac536 error=2
null
java.io.IOException: CreateProcess: C:\\javac @C:\DOCUME~1\fkhan\LOCALS~1\Temp\j
avac536 error=2
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Unknown Source)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(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:218)
        at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.j
ava:815)
        at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java
:264)
BUILD FAILED
 
I already have C:\j2sdk1.4.2_04\bin\javac.exe on the path, also  C:\j2sdk1.4.2_04\bin is on the PATH too, even on the classpath, I do not understand why this is not working.
 
Any help will be greatly appreciated.
Thanks in advance,
Faraz Khan.

		
---------------------------------
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.