Skip to content

Commit fce8db3

Browse files
committed
[doc] Add tips for building fluss with Java 8
1 parent bb7fbc2 commit fce8db3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

website/community/dev/building.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ In order to build Fluss you need to get the source code by [clone the git reposi
2929

3030
In addition, you need **Maven 3.8.6** and a **JDK** (Java Development Kit). Fluss requires **Java 8 or Java 11** to build.
3131

32+
:::tip
33+
- It is recommended to use JDK 1.8.3 if you're using Java 8 and encounter an error like `java.lang.NoSuchMethodError: 'java.nio.MappedByteBuffer java.nio.MappedByteBuffer.duplicate()'`.
34+
- Setting the environment variable via `export JAVA_TOOL_OPTIONS="-XX:+UnlockExperimentalVMOptions"` is useful if you encounter an error `VM option 'UseG1GC' is experimental and must be enabled via -XX:+UnlockExperimentalVMOptions`.
35+
:::
36+
3237
To clone from git, enter:
3338

3439
```bash

0 commit comments

Comments
 (0)