You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to run generated command yourself you will get a real reason saying C:\Program is not a command.
Further investigation will show that GrpcCodeGen.java generates a cmd sript on line 207 which contains a java command - C:\Program Files\AdoptOpenJDK\jdk-11.0.7.10-hotspot\bin\java.EXE -cp "C:\Users\blablabla"
Adding double quotes around java command fixes the issue
Environment (please complete the following information):
Quarkus version or git rev: 1.7.0.Final
Build tool (ie. output of mvnw --version or gradlew --version):
Gradle 6.6
Build time: 2020-08-10 22:06:19 UTC
Revision: d119144684a0c301aea027b79857815659e431b9
Kotlin: 1.3.72
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM: 11.0.7 (AdoptOpenJDK 11.0.7+10)
OS: Windows 10 10.0 amd64
Issue seems to be specific to quarkus 1.7.0.Final. At least changing version to 1.6.1.Final doesn't throw this exception, but it seems like it also doesn't try to compile proto files at all.
The text was updated successfully, but these errors were encountered:
Describe the bug
protoc compilation fails with "'С:\Program' is not recognized as an internal or external command, operable program or batch file."
Expected behavior
protoc compilation successfully runs
Actual behavior
protoc compilation fails with "'С:\Program' is not recognized as an internal or external command, operable program or batch file."
To Reproduce
Steps to reproduce the behavior:
C:\Program Files\AdoptOpenJDK\jdk-11.0.7.10-hotspot\bin\java.EXE -cp "C:\Users\blablabla"
Environment (please complete the following information):
mvnw --version
orgradlew --version
):Gradle 6.6
Build time: 2020-08-10 22:06:19 UTC
Revision: d119144684a0c301aea027b79857815659e431b9
Kotlin: 1.3.72
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM: 11.0.7 (AdoptOpenJDK 11.0.7+10)
OS: Windows 10 10.0 amd64
Issue seems to be specific to quarkus 1.7.0.Final. At least changing version to 1.6.1.Final doesn't throw this exception, but it seems like it also doesn't try to compile proto files at all.
The text was updated successfully, but these errors were encountered: