Skip to content

Commit 282a2e6

Browse files
authored
feat(start.ps1)
1 parent 9232b78 commit 282a2e6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

start.ps1

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
$JAVA_CMD = "java"
2+
$JAR_NAME = "powernukkitx.jar"
3+
4+
& $JAVA_CMD -Dfile.encoding=UTF-8 `
5+
-Djansi.passthrough=true `
6+
-Dterminal.ansi=true `
7+
-XX:+UnlockExperimentalVMOptions `
8+
-XX:+UseG1GC `
9+
-XX:+UseStringDeduplication `
10+
-XX:+EnableJVMCI `
11+
--module-path="./libs/graal-sdk-23.0.0.jar;./libs/truffle-api-23.0.0.jar" `
12+
--add-opens java.base/java.lang=ALL-UNNAMED `
13+
--add-opens java.base/java.io=ALL-UNNAMED `
14+
-cp "$JAR_NAME;./libs/*" `
15+
cn.nukkit.Nukkit

0 commit comments

Comments
 (0)