From ee947e8d57b79023940fa20b7f5503436f2c3126 Mon Sep 17 00:00:00 2001 From: bai <1643359946@qq.com> Date: Wed, 17 Jan 2024 16:20:01 +0800 Subject: [PATCH] =?UTF-8?q?2024=E5=B9=B41=E6=9C=8817=E6=97=A5=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E8=84=9A=E6=9C=AC,=E6=94=AF=E6=8C=81=E5=A4=9A?= =?UTF-8?q?=E7=8E=AF=E5=A2=83jdk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + build.bat | 26 ++++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ab53cb7c..490d131e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ rebel.xml ## front **/*.lock /config +/javaPath.txt diff --git a/build.bat b/build.bat index aa404725..70e9fc7a 100644 --- a/build.bat +++ b/build.bat @@ -1,2 +1,24 @@ -mvn clean package -PAUSE \ No newline at end of file +@echo off +echo 如果编译错误请设置JDK为1.8版本 +if not exist javaPath.txt ( + echo 请在项目根目录创建【javaPath.txt】文件并填写jdk路径 + pause + exit +) +set /P javaPath=