Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#1722] fix: Fix the start command of Java17 (#1723)

qqqttt1232c63a7795407
diff --git a/bin/gravitino.sh b/bin/gravitino.sh
index 34ca45e135..7e75edfe0c 100755
--- a/bin/gravitino.sh
+++ b/bin/gravitino.sh
@@ -153,7 +153,7 @@ if [ "$JVM_VERSION" -eq 17 ]; then
JAVA_OPTS+=" --add-opens java.base/sun.nio.cs=ALL-UNNAMED"
JAVA_OPTS+=" --add-opens java.base/sun.security.action=ALL-UNNAMED"
JAVA_OPTS+=" --add-opens java.base/sun.util.calendar=ALL-UNNAMED"
- JAVA_OPTS+=" --add-opens", "java.security.jgss/sun.security.krb5=ALL-UNNAMED"
+ JAVA_OPTS+=" --add-opens java.security.jgss/sun.security.krb5=ALL-UNNAMED"
fi
addJarInDir "${GRAVITINO_HOME}/libs"