[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-user
Subject:    Re: problem running the "scomp"
From:       alaa nobani <alaa_nobani () yahoo ! com>
Date:       2010-03-24 20:21:39
Message-ID: 943449.19399.qm () web57103 ! mail ! re3 ! yahoo ! com
[Download RAW message or body]

thank you it worked.

--- On Wed, 3/24/10, Sri Harsha Yenuganti <shyenuganti@gmail.com> wrote:

From: Sri Harsha Yenuganti <shyenuganti@gmail.com>
Subject: Re: problem running the "scomp"
To: user@xmlbeans.apache.org
Date: Wednesday, March 24, 2010, 4:17 PM

Hi Alaa, 
Add JAVA_HOME/bin to your system path .. Or use the -compiler option in executing \
scomp and give the absolute path of javac ! 

On 24 March 2010 15:17, alaa nobani <alaa_nobani@yahoo.com> wrote:

No Javac is not located at /home/alaa/xmlbeans-tutorial/  and dont know why it trys \
to execute it there while am setting my JAVA_HOME and added to the path already.






--- On Wed, 3/24/10, Jacob Danner <jacob.danner@gmail.com> wrote:



> From: Jacob Danner <jacob.danner@gmail.com>

> Subject: Re: problem running the "scomp"

> To: user@xmlbeans.apache.org

> Date: Wednesday, March 24, 2010, 10:05 AM

> Is javac really located at

> /home/alaa/xmlbeans-tutorial/javac

> in your environment?

> 

> Otherwise this looks like it might be addressed on the FAQ

> page,

> (sorry I don't have the link or answer with me at the

> moment)

> 

> -jacobd

> 

> 

> 

> 

> On Wed, Mar 24, 2010 at 12:58 AM, alaa nobani <alaa_nobani@yahoo.com>

> wrote:

> > Hi I have installed the XMLbeans 2.5 version and am

> having java 1.6 installed , when ever i try to to run the

> "scomp"  command to compile my schema i get the following

> error although the JAVA_HOME is defined and the

> JAVA_HOME/bin added to path, the error is:

> > 

> > java.io.IOException: Cannot run program

> "/home/alaa/xmlbeans-tutorial/javac": java.io.IOExcep

> > java.io.IOException: java.io.IOException: error=2, No

> such file or directory

> > java.io.IOException: Cannot run program

> "/home/alaa/xmlbeans-tutorial/javac": java.io.IOExcep

> > at

> java.lang.ProcessBuilder.start(ProcessBuilder.java:474)

> > at

> java.lang.Runtime.exec(Runtime.java:610)

> > at

> java.lang.Runtime.exec(Runtime.java:483)

> > at

> org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil.java:231)

> > at

> org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1154)

> > at

> org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:373)

> > Caused by: java.io.IOException: java.io.IOException:

> error=2, No such file or directory

> > at

> java.lang.UNIXProcess.<init>(UNIXProcess.java:164)

> > at

> java.lang.ProcessImpl.start(ProcessImpl.java:81)

> > at

> java.lang.ProcessBuilder.start(ProcessBuilder.java:467)

> > ... 5 more

> > BUILD FAILED

> > 

> > 

> > Any Idea what is this error and how can I fix it?

> > 

> > thanks.

> > 

> > 

> > 

> > 

> > 

> ---------------------------------------------------------------------

> > To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org

> > For additional commands, e-mail: user-help@xmlbeans.apache.org

> > 

> > 

> 

> ---------------------------------------------------------------------

> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org

> For additional commands, e-mail: user-help@xmlbeans.apache.org

> 

> 









---------------------------------------------------------------------

To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org

For additional commands, e-mail: user-help@xmlbeans.apache.org






-- 
Sri Harsha Yenuganti
shyenuganti@gmail.com

"  IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO SUCCEED.AIM HIGH \
BUT BE PREPARED FOR THE WORST. "








      


[Attachment #3 (text/html)]

<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;">thank you it worked.<br><br>--- On <b>Wed, 3/24/10, Sri Harsha Yenuganti \
<i>&lt;shyenuganti@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: \
2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Sri \
Harsha Yenuganti &lt;shyenuganti@gmail.com&gt;<br>Subject: Re: problem running the \
"scomp"<br>To: user@xmlbeans.apache.org<br>Date: Wednesday, March 24, 2010, 4:17 \
PM<br><br><div id="yiv707420522"><div>Hi Alaa,&nbsp;</div><div><br></div>Add \
JAVA_HOME/bin to your system path .. Or use the -compiler option in executing scomp \
and give the absolute path of javac !<div>&nbsp;<br><br><div class="gmail_quote">On \
24 March 2010 15:17, alaa nobani <span dir="ltr">&lt;<a rel="nofollow" \
ymailto="mailto:alaa_nobani@yahoo.com" target="_blank" \
href="/mc/compose?to=alaa_nobani@yahoo.com">alaa_nobani@yahoo.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">No Javac is not located at \
/home/alaa/xmlbeans-tutorial/ &nbsp;and dont know why it trys to execute it there \
while am setting my JAVA_HOME and added to the path already.<br>

<div class="im"><br>
<br>
--- On Wed, 3/24/10, Jacob Danner &lt;<a rel="nofollow" \
ymailto="mailto:jacob.danner@gmail.com" target="_blank" \
href="/mc/compose?to=jacob.danner@gmail.com">jacob.danner@gmail.com</a>&gt; \
wrote:<br> <br>
&gt; From: Jacob Danner &lt;<a rel="nofollow" ymailto="mailto:jacob.danner@gmail.com" \
target="_blank" href="/mc/compose?to=jacob.danner@gmail.com">jacob.danner@gmail.com</a>&gt;<br>
 </div>&gt; Subject: Re: problem running the "scomp"<br>
<div class="im">&gt; To: <a rel="nofollow" ymailto="mailto:user@xmlbeans.apache.org" \
target="_blank" href="/mc/compose?to=user@xmlbeans.apache.org">user@xmlbeans.apache.org</a><br>
 </div>&gt; Date: Wednesday, March 24, 2010, 10:05 AM<br>
<div><div></div><div class="h5">&gt; Is javac really located at<br>
&gt; /home/alaa/xmlbeans-tutorial/javac<br>
&gt; in your environment?<br>
&gt;<br>
&gt; Otherwise this looks like it might be addressed on the FAQ<br>
&gt; page,<br>
&gt; (sorry I don't have the link or answer with me at the<br>
&gt; moment)<br>
&gt;<br>
&gt; -jacobd<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Mar 24, 2010 at 12:58 AM, alaa nobani &lt;<a rel="nofollow" \
ymailto="mailto:alaa_nobani@yahoo.com" target="_blank" \
href="/mc/compose?to=alaa_nobani@yahoo.com">alaa_nobani@yahoo.com</a>&gt;<br> &gt; \
wrote:<br> &gt; &gt; Hi I have installed the XMLbeans 2.5 version and am<br>
&gt; having java 1.6 installed , when ever i try to to run the<br>
&gt; "scomp" &nbsp;command to compile my schema i get the following<br>
&gt; error although the JAVA_HOME is defined and the<br>
&gt; JAVA_HOME/bin added to path, the error is:<br>
&gt; &gt;<br>
&gt; &gt; java.io.IOException: Cannot run program<br>
&gt; "/home/alaa/xmlbeans-tutorial/javac": java.io.IOExcep<br>
&gt; &gt; java.io.IOException: java.io.IOException: error=2, No<br>
&gt; such file or directory<br>
&gt; &gt; java.io.IOException: Cannot run program<br>
&gt; "/home/alaa/xmlbeans-tutorial/javac": java.io.IOExcep<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;at<br>
&gt; java.lang.ProcessBuilder.start(ProcessBuilder.java:474)<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;at<br>
&gt; java.lang.Runtime.exec(Runtime.java:610)<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;at<br>
&gt; java.lang.Runtime.exec(Runtime.java:483)<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;at<br>
&gt; org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil.java:231)<br>
 &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;at<br>
&gt; org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1154)<br>
 &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;at<br>
&gt; org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:373)<br>
&gt; &gt; Caused by: java.io.IOException: java.io.IOException:<br>
&gt; error=2, No such file or directory<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;at<br>
&gt; java.lang.UNIXProcess.&lt;init&gt;(UNIXProcess.java:164)<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;at<br>
&gt; java.lang.ProcessImpl.start(ProcessImpl.java:81)<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;at<br>
&gt; java.lang.ProcessBuilder.start(ProcessBuilder.java:467)<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;... 5 more<br>
&gt; &gt; BUILD FAILED<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Any Idea what is this error and how can I fix it?<br>
&gt; &gt;<br>
&gt; &gt; thanks.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; ---------------------------------------------------------------------<br>
&gt; &gt; To unsubscribe, e-mail: <a rel="nofollow" \
ymailto="mailto:user-unsubscribe@xmlbeans.apache.org" target="_blank" \
href="/mc/compose?to=user-unsubscribe@xmlbeans.apache.org">user-unsubscribe@xmlbeans.apache.org</a><br>
 &gt; &gt; For additional commands, e-mail: <a rel="nofollow" \
ymailto="mailto:user-help@xmlbeans.apache.org" target="_blank" \
href="/mc/compose?to=user-help@xmlbeans.apache.org">user-help@xmlbeans.apache.org</a><br>
 &gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; ---------------------------------------------------------------------<br>
&gt; To unsubscribe, e-mail: <a rel="nofollow" \
ymailto="mailto:user-unsubscribe@xmlbeans.apache.org" target="_blank" \
href="/mc/compose?to=user-unsubscribe@xmlbeans.apache.org">user-unsubscribe@xmlbeans.apache.org</a><br>
 &gt; For additional commands, e-mail: <a rel="nofollow" \
ymailto="mailto:user-help@xmlbeans.apache.org" target="_blank" \
href="/mc/compose?to=user-help@xmlbeans.apache.org">user-help@xmlbeans.apache.org</a><br>
 &gt;<br>
&gt;<br>
<br>
<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a rel="nofollow" \
ymailto="mailto:user-unsubscribe@xmlbeans.apache.org" target="_blank" \
href="/mc/compose?to=user-unsubscribe@xmlbeans.apache.org">user-unsubscribe@xmlbeans.apache.org</a><br>
 For additional commands, e-mail: <a rel="nofollow" \
ymailto="mailto:user-help@xmlbeans.apache.org" target="_blank" \
href="/mc/compose?to=user-help@xmlbeans.apache.org">user-help@xmlbeans.apache.org</a><br>
 <br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sri Harsha \
Yenuganti<br><a rel="nofollow" ymailto="mailto:shyenuganti@gmail.com" target="_blank" \
href="/mc/compose?to=shyenuganti@gmail.com">shyenuganti@gmail.com</a><br><br>" \
&nbsp;IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO SUCCEED.AIM HIGH \
BUT BE PREPARED FOR THE WORST. "<br> <br><br>
</div>
</div></blockquote></td></tr></table><br>

      



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic