From 88a64e29571d1a73d0dbea1ea5ca39f833c64dec Mon Sep 17 00:00:00 2001 From: Wenchao Zeng Date: Wed, 16 Aug 2023 21:59:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=88=E5=AF=B9windows=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E6=8F=90=E4=BE=9B=E4=B8=80=E4=B8=AAstart.bat=E6=96=B9=E4=BE=BF?= =?UTF-8?q?=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.sh | 1 + start.bat | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 start.bat diff --git a/package.sh b/package.sh index 69878f0..d2e2fb4 100755 --- a/package.sh +++ b/package.sh @@ -7,6 +7,7 @@ mkdir ./target/release mkdir ./target/release/lib cp ./target/sqldataprocessor-0.0.0-SNAPSHOT/lib/* ./target/release/lib/ cp ./start.sh ./target/release +cp ./start.bat ./target/release # 打包 oldPath=$(pwd) diff --git a/start.bat b/start.bat new file mode 100644 index 0000000..c75a497 --- /dev/null +++ b/start.bat @@ -0,0 +1,3 @@ +@echo off + +java "-Xmx16g" "-XX:MinHeapFreeRatio=0" "-XX:MaxHeapFreeRatio=10" "-cp" "lib/*" "com.zwc.sqldataprocessor.SqlDataProcessor" "%~1" \ No newline at end of file