You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Jens Geyer <je...@apache.org> on 2022/06/22 19:53:28 UTC
Java/Gradle issue - help appreciated
Hi,
I repeatedly run into an issue with one of my PRs.
Funny thing is, I did not even touch that option or file.
Starting a Gradle Daemon (subsequent builds will be faster)
Could not write standard input to Gradle build daemon.
[...]
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
[...]
Please read the following process output to find out more:
-----------------------
Unrecognized option: --add-exports
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Full log
https://app.travis-ci.com/github/apache/thrift/jobs/574273020
Thanks for any helpful advice,
JensG
Re: Java/Gradle issue - help appreciated
Posted by Jiayu Liu <ji...@hey.com.INVALID>.
Hi JensG,
I guess you can either upgrade your Java version to 11 or remove the
whole line of "org.gradle.jvmargs=--add-exports" within
"lib/java/gradle.properties" file.
On June 23, 2022, Jens Geyer <je...@apache.org> wrote:
> Hi,
>
> I repeatedly run into an issue with one of my PRs.
> Funny thing is, I did not even touch that option or file.
>
>
> Starting a Gradle Daemon (subsequent builds will be faster)
> Could not write standard input to Gradle build daemon.
>
> [...]
>
> FAILURE: Build failed with an exception.
> * What went wrong:
> Unable to start the daemon process.
> This problem might be caused by incorrect configuration of the
> daemon.
> For example, an unrecognized jvm option is used.
>
> [...]
>
> Please read the following process output to find out more:
> -----------------------
> Unrecognized option: --add-exports
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
>
>
> Full log
> https://app.travis-ci.com/github/apache/thrift/jobs/574273020
>
>
> Thanks for any helpful advice,
> JensG