You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Velesevich Ilya <wi...@gmail.com> on 2007/08/14 13:52:45 UTC

java.io.IOException: Cannot run "rc" program

Hi !

I have download source from
http://svn.apache.org/repos/asf/webservices/axis/trunk/c
I have install Ant 1.7.0 by
http://ws.apache.org/axis/cpp/developers-guide.html
I try build source using Ant 1.7.0
but after running Ant I have exception: build.xml:82 Execute failed
java.io.IOException: Cannot run "rc" program ... System cannot find program
specified

I found two rc program on my computer. It situated in VS 2003 directory.

What rc program will find Ant???
May be I'm lose sight of something;

Help me please!!!

Thanks!!!

.

Re: java.io.IOException: Cannot run "rc" program

Posted by Carlos Escobar Zarzar <ce...@bbr.cl>.
Velesevich Ilya escribió:
> Hi !
>
> I have download source from 
> http://svn.apache.org/repos/asf/webservices/axis/trunk/c
> I have install Ant 1.7.0 by 
> http://ws.apache.org/axis/cpp/developers-guide.html
> I try build source using Ant 1.7.0
> but after running Ant I have exception: build.xml:82 Execute failed  
> java.io.IOException: Cannot run "rc" program ... System cannot find 
> program specified
>
> I found two rc program on my computer. It situated in VS 2003 directory.
>
> What rc program will find Ant???
> May be I'm lose sight of something;
>
> Help me please!!!
>
> Thanks!!!
>
> .
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 13/08/2007 10:15
>   

Oops, wrong answer, sorry :P didn't look it was for C... perhaps you 
should try leaving only one rc in your path, always make sure you don't 
have two definitions of the same program in your nv. variables, programs 
usually don't like it ;)

Re: java.io.IOException: Cannot run "rc" program

Posted by Velesevich Ilya <wi...@gmail.com>.
Yes....
 I'm know but if you want call web service from client stub(client stub
create using WSDL2Ws Axis C++ 1.6b)
You will very unhappy when simple WebService whith method HelloWorld do not
run twice;
and code generate HTTPTransport exception.

This exception like here:
http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200708.mbox/%3cE1IJSMZ-000Omn-00.win_perec-mail-ru@f94.mail.ru%3e

And resolve this problem is building latest code an one of axis user:
http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200708.mbox/%3cOFF2C615B5.F36CDC4B-ON86257333.004AEA43-86257333.004B10AC@us.ibm.com%3e

Thanks for your attention for my problem but it not resolved.
Build as before failed at ibid.


2007/8/14, Carlos Escobar Zarzar <ce...@bbr.cl>:
>
>  as for the axis-c++ binaries, you should be able to find them in
>
> http://www.apache.org/dist/ws/axis-c/
>
>
> Velesevich Ilya escribió:
>
> I want exactly question:
> this fail in build.xml at 82 line: Execute failed  java.io.IOException:
> Cannot run "rc" program ... System cannot find program specified
>        <exec executable="rc">
>          <!--<arg ="/fo '${basedir}/build/version.res'
> '${basedir}/build/version.temp.rc'"/>-->
>             <arg value="/fo"/>
>             <arg value="${basedir}/build/version.res"/>
>             <arg value="${basedir}/build/version.temp.rc"/>
>         </exec>
> version.temp.rc  file  situated in D:\ws-axis\c\build
> version.res file not exist generally.
>
> Please help me!!!
>
> And may be If anybody have win32-bin files of Axis C++
> (was building by latest source from
> http://svn.apache.org/repos/asf/webservices/axis/trunk/c)
> send me on my mail pleeease!!!
>
> 2007/8/14, Velesevich Ilya <winperec@gmail.com >:
> >
> > Hi !
> >
> > I have download source from
> > http://svn.apache.org/repos/asf/webservices/axis/trunk/c
> > I have install Ant 1.7.0 by
> > http://ws.apache.org/axis/cpp/developers-guide.html
> > I try build source using Ant 1.7.0
> > but after running Ant I have exception: build.xml:82 Execute failed
> > java.io.IOException: Cannot run "rc" program ... System cannot find
> > program specified
> >
> > I found two rc program on my computer. It situated in VS 2003 directory.
> >
> > What rc program will find Ant???
> > May be I'm lose sight of something;
> >
> > Help me please!!!
> >
> > Thanks!!!
> >
> > .
> >
>
> ------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 13/08/2007 10:15
>
>
>
>

Re: java.io.IOException: Cannot run "rc" program

Posted by Carlos Escobar Zarzar <ce...@bbr.cl>.
as for the axis-c++ binaries, you should be able to find them in

http://www.apache.org/dist/ws/axis-c/


Velesevich Ilya escribió:
> I want exactly question:
> this fail in build.xml at 82 line: Execute failed  
> java.io.IOException: Cannot run "rc" program ... System cannot find 
> program specified
>        <exec executable="rc">
>          <!--<arg ="/fo '${basedir}/build/version.res' 
> '${basedir}/build/version.temp.rc'"/>-->
>             <arg value="/fo"/>
>             <arg value="${basedir}/build/version.res"/>
>             <arg value="${basedir}/build/version.temp.rc"/>
>         </exec>
> version.temp.rc  file  situated in D:\ws-axis\c\build
> version.res file not exist generally.
>
> Please help me!!!
>
> And may be If anybody have win32-bin files of Axis C++
> (was building by latest source from 
> http://svn.apache.org/repos/asf/webservices/axis/trunk/c)
> send me on my mail pleeease!!!
>
> 2007/8/14, Velesevich Ilya <winperec@gmail.com 
> <ma...@gmail.com> >:
>
>     Hi !
>
>     I have download source from
>     http://svn.apache.org/repos/asf/webservices/axis/trunk/c
>     I have install Ant 1.7.0 by
>     http://ws.apache.org/axis/cpp/developers-guide.html
>     I try build source using Ant 1.7.0
>     but after running Ant I have exception: build.xml:82 Execute
>     failed  java.io.IOException: Cannot run "rc" program ... System
>     cannot find program specified
>
>     I found two rc program on my computer. It situated in VS 2003
>     directory.
>
>     What rc program will find Ant???
>     May be I'm lose sight of something;
>
>     Help me please!!!
>
>     Thanks!!!
>
>     .
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 13/08/2007 10:15
>   


Re: java.io.IOException: Cannot run "rc" program

Posted by Velesevich Ilya <wi...@gmail.com>.
I want exactly question:
this fail in build.xml at 82 line: Execute failed  java.io.IOException:
Cannot run "rc" program ... System cannot find program specified
       <exec executable="rc">
         <!--<arg ="/fo '${basedir}/build/version.res'
'${basedir}/build/version.temp.rc'"/>-->
            <arg value="/fo"/>
            <arg value="${basedir}/build/version.res"/>
            <arg value="${basedir}/build/version.temp.rc"/>
        </exec>
version.temp.rc  file  situated in D:\ws-axis\c\build
version.res file not exist generally.

Please help me!!!

And may be If anybody have win32-bin files of Axis C++
(was building by latest source from
http://svn.apache.org/repos/asf/webservices/axis/trunk/c)
send me on my mail pleeease!!!

2007/8/14, Velesevich Ilya <wi...@gmail.com>:
>
> Hi !
>
> I have download source from
> http://svn.apache.org/repos/asf/webservices/axis/trunk/c
> I have install Ant 1.7.0 by
> http://ws.apache.org/axis/cpp/developers-guide.html
> I try build source using Ant 1.7.0
> but after running Ant I have exception: build.xml:82 Execute failed
> java.io.IOException: Cannot run "rc" program ... System cannot find
> program specified
>
> I found two rc program on my computer. It situated in VS 2003 directory.
>
> What rc program will find Ant???
> May be I'm lose sight of something;
>
> Help me please!!!
>
> Thanks!!!
>
> .
>

Re: java.io.IOException: Cannot run "rc" program

Posted by Carlos Escobar Zarzar <ce...@bbr.cl>.
Velesevich Ilya escribió:
> Hi !
>
> I have download source from 
> http://svn.apache.org/repos/asf/webservices/axis/trunk/c
> I have install Ant 1.7.0 by 
> http://ws.apache.org/axis/cpp/developers-guide.html
> I try build source using Ant 1.7.0
> but after running Ant I have exception: build.xml:82 Execute failed  
> java.io.IOException: Cannot run "rc" program ... System cannot find 
> program specified
>
> I found two rc program on my computer. It situated in VS 2003 directory.
>
> What rc program will find Ant???
> May be I'm lose sight of something;
>
Perhaps you are missing to set your JAVA_HOME and/or CLASSPATH 
environment variables, if so, make sure the file rt.jar (which HAS to be 
with your java virtual machine) is in the classpath.

i.e.
I have installed Java Development Kit (aka JDK) in C:\j2sdk1.6.0_06 
(that's how Java 6 update 6 looks like ;) )
then my environment variables would look like this:

JAVA_HOME=C:\jdk1.6.0_06
CLASSPATH=C:\jdk1.6.0_06\jre\lib
> Help me please!!!
>
> Thanks!!!
>
> .
Hope that works for you ;)

cheers

Carlos Escobar
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 13/08/2007 10:15
>