title: Issue while generating grpc Java stub using protoc v3
body: <p>I am using Protoc version 3.0 on Ubuntu 14.4  and issuing command </p>
  
  <pre><code> protoc -I ./ --java_out=. --grpc_out=. --plugin=protoc-gen-grpc=/opt/jvision/grpc/oc/protoc-gen-grpc-java-1.0.0-linux-x86_32.exe ./agent.proto
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/34713861/python-grpc-protobuf-stubs-generation-issue-grpc-out-protoc-gen-grpc-plugin?rq=1">Same issue for python described here</a></p>
  
  <p>I am getting this error:</p>
  
  <pre><code>/opt/jvision/grpc/oc/protoc-gen-grpc-java-1.0.0-linux-x86_32.exe: program not found or is not executable
  --grpc_out: protoc-gen-grpc: Plugin failed with status code 1.
  </code></pre>
  
  <p>However if i skip stub part and just issue command</p>
  
  <pre><code>protoc  -I=./ --java_out=. ./agent.proto
  </code></pre>
  
  <p>It works perfectly fine. Wondering what i am missing. </p>