This is an automated email from the ASF dual-hosted git repository.

xqhu pushed a commit to branch liferoad-patch-2
in repository https://gitbox.apache.org/repos/asf/beam.git

commit adc714360579f4a58726be7f8eb5bf01a709cbb9
Author: liferoad <[email protected]>
AuthorDate: Mon Nov 4 09:55:06 2024 -0500

    Update code-change-guide.md
---
 contributor-docs/code-change-guide.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/contributor-docs/code-change-guide.md 
b/contributor-docs/code-change-guide.md
index f0785d3509d..efb57973592 100644
--- a/contributor-docs/code-change-guide.md
+++ b/contributor-docs/code-change-guide.md
@@ -115,6 +115,8 @@ To run a Gradle task, use the command `./gradlew -p 
<PROJECT_PATH> <TASK>` or th
 ./gradlew :sdks:java:harness:test
 ```
 
+**It is recommended to run `./gradlew clean` if you run into some strange 
errors such as `java.lang.NoClassDefFoundError`.**
+
 #### Beam-specific Gradle project configuration
 
 For Apache Beam, one plugin manages everything: 
`buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin`.
@@ -145,7 +147,7 @@ in the Google Cloud documentation.
 
 Depending on the languages involved, your `PATH` file needs to have the 
following elements configured.
 
-* A Java environment that uses a supported Java version, preferably Java 8.
+* A Java environment that uses a supported Java version, preferably Java 11.
   * This environment is needed for all development, because Beam is a Gradle 
project that uses JVM.
   * Recommended: To manage Java versions, use 
[sdkman](https://sdkman.io/install).
 

Reply via email to