You actually need to put it in just the "src" directory, not "java/src".
 I.e. the root of the C++ code tree.  That is where the binary normally ends
up when building on Unix systems.

On Fri, Aug 27, 2010 at 8:00 AM, jebrick <jebr...@gmail.com> wrote:

> I'm having an issue on building the jar version and I can not figure
> out why.
>
> D/L'ed the source and compiled the C++.  I'm on Windows 7 so I used
> the VS C++.  Moved the protoc.exe to the Java/src directory.  I also
> moved it to another directory in that is in my PATH.  When I run 'mvn
> test' I get an Ant BuildException "can not run program"../src/protoc":
> System cannot find the file specified'
>
> I followed the instructions for compiling the C++ and Java.  I even D/
> L'ed the windows binary and put it in the java/src directory with the
> same result.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to proto...@googlegroups.com.
> To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com<protobuf%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to