Making all in java
make[3]: Entering directory '/opt/thrift-0.13.0/lib/java'
./gradlew assemble
-Prelease=true
-Pthrift.version=0.13.0
--console=plain
Task :copyDependencies UP-TO-DATE
Task :compileJava UP-TO-DATE
Task :processResources UP-TO-DATE
Task :classes UP-TO-DATE
Task :jar UP-TO-DATE
Task :javadoc FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':javadoc'.
Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/opt/thrift-0.13.0/lib/java/build/tmp/javadoc/javadoc.options'
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
And my java version is
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)
最后发现是只需要把openjdk卸掉,自行装一个oraclejdk即可