Please note that his has been fixed in xmlbeans-2.2.0 so probably it's just a matter of upgrading.
Radu -----Original Message----- From: Johnnyrok [mailto:[EMAIL PROTECTED] Sent: Saturday, September 16, 2006 11:09 PM To: user@xmlbeans.apache.org Subject: Error running scomp Regarding the FAQ "error running scomp" http://mail-archives.apache.org/mod_mbox/xmlbeans-user/200607.mbox/%3cF9 [EMAIL PROTECTED] I modified the 'scomp.cmd' script, to ref JAVA_HOME directly {set cp=%cp%;%JAVA_HOME%\bin"}, and subsequently got the following error on XP: C:\xmlbeans-2.2.0\example>scomp -out Po.jar Po.xsd Exception in thread "main" Java.lang.NoClassDefFoundError: Files\j2sdk1/4/2_12\l Ib\tools/jar;C:\xmlbeans-2/2/0\lib\resolver/jar org/Apache/xmlbeans/impl/tool/Sc HemaCompiler -out Po/jar Po/xsd C:\xmlbeans-2.2.0\example> My JDK is installed under "C:\Program Files\j2sdk1.4.2_12". From the above, it is clear that javac is not the issue, rather, the classpath entry to the tools.jar is incorrect. I'm guessing the classpath is parsed by the xbeans tool, before invoking javac itself. Environment: JAVA_HOME=C:\Program Files\j2sdk1.4.2_12 OS=Windows_NT Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\j2 sdk1.4.2_12;C:\Program Files\j2sdk1.4.2_12\bin;C:\apache-ant-1.6.5\bin;C:\Progra m Files\Apache Group\Tomcat 4.1;C:\xmlbeans-2.2.0\bin; One (undesirable) way around this would be to re-install the JDK to somewhere other than "C:\Program Files". -- View this message in context: http://www.nabble.com/Error-running-scomp-tf2284760.html#a6346761 Sent from the Xml Beans - User forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _______________________________________________________________________ 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]