xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Danner" <jac...@bea.com>
Subject RE: Problem with scomp command
Date Wed, 04 Aug 2004 08:52:26 GMT
The problem stems from this error message:
'javac' is required on the path
 
take a peek at the FAQ for a complete description of the problem and the solution
http://wiki.apache.org/xmlbeans/XmlBeansV1Faq#scompFindingJavac
In short, "The solution is to move the JDK higher up on the PATH in the environment. An alternate
solution is to set JAVA_HOME and edit the scomp script to run %JAVA_HOME%/bin/java instead
of relying on the PATH."

	-----Original Message----- 
	From: Paul Johnson [mailto:bigpeejay@verizon.net] 
	Sent: Tue 8/3/2004 7:56 PM 
	To: xmlbeans-dev@xml.apache.org 
	Cc: 
	Subject: Problem with scomp command
	
	

	Hello,
	I have not been able to get the scomp command to run cleanly. Here is the message I'm getting:
	
	C:\xmlbeans-1.0.3\schemas>scomp -verbose easypo
	Loading schema file easypo\easypo.xsd
	Loading config file easypo\easypo.xsdconfig
	Time to build schema type system: 1.081 seconds
	Compiling type T=customer@http://openuri.org/easypo
	created C:\DOCUME~1\PAULJO~1\LOCALS~1\Temp\xbean65265.d\src\com\easypo\XmlCustom
	erBean.java
	created C:\DOCUME~1\PAULJO~1\LOCALS~1\Temp\xbean65265.d\src\com\easypo\impl\XmlC
	ustomerBeanImpl.java
	Compiling type T=line-item@http://openuri.org/easypo
	created C:\DOCUME~1\PAULJO~1\LOCALS~1\Temp\xbean65265.d\src\com\easypo\XmlLineIt
	emBean.java
	created C:\DOCUME~1\PAULJO~1\LOCALS~1\Temp\xbean65265.d\src\com\easypo\impl\XmlL
	ineItemBeanImpl.java
	Compiling type T=shipper@http://openuri.org/easypo
	created C:\DOCUME~1\PAULJO~1\LOCALS~1\Temp\xbean65265.d\src\com\easypo\XmlShippe
	rBean.java
	created C:\DOCUME~1\PAULJO~1\LOCALS~1\Temp\xbean65265.d\src\com\easypo\impl\XmlS
	hipperBeanImpl.java
	Compiling type D=purchase-order@http://openuri.org/easypo
	created C:\DOCUME~1\PAULJO~1\LOCALS~1\Temp\xbean65265.d\src\com\easypo\XmlPurcha
	seOrderDocumentBean.java
	created C:\DOCUME~1\PAULJO~1\LOCALS~1\Temp\xbean65265.d\src\com\easypo\impl\XmlP
	urchaseOrderDocumentBeanImpl.java
	Time to generate code: 0.221 seconds
	compile command: C:\xmlbeans-1.0.3\schemas\javac @C:\DOCUME~1\PAULJO~1\LOCALS~1\
	Temp\javac65266
	'javac' is required on the path.
	java.io.IOException: CreateProcess: C:\xmlbeans-1.0.3\schemas\javac @C:\DOCUME~1
	\PAULJO~1\LOCALS~1\Temp\javac65266 error=2
	null
	java.io.IOException: CreateProcess: C:\xmlbeans-1.0.3\schemas\javac @C:\DOCUME~1
	\PAULJO~1\LOCALS~1\Temp\javac65266 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
	
	Any help you can give will be greatly appreciated.
	        Paul
	
	
	
	- ---------------------------------------------------------------------
	To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
	For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
	Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
	
	

Mime
View raw message