1 Star 0 Fork 1

xiaoli123/mybatis-generator-gui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
start.sh 895 Bytes
一键复制 编辑 原始数据 按行查看 历史
cheney.com.cn 提交于 2016-06-25 14:43 . add package & start shell
#!/bin/bash
echo "[Requirement-Java] Requirement JDK 8.0+ and env of JAVA_HOME."
if [ -z "${JAVA_HOME}" ]; then
echo "[Requirement-Java] JAVA_HOME is not exists!"
echo "[Requirement-Java] Please check java is installed and set env of JAVA_HOME."
exit 1
else
echo "[Requirement-Java] JAVA_HOME: ${JAVA_HOME}"
fi
if [ ! -x "${JAVA_HOME}/bin/javac" ]; then
echo "[Requirement-Java] Java not found!"
echo "[Requirement-Java] Please install JDK 8.0+ or JRE 8.0+"
exit 1
fi
JAVA_VERSION=`java -version 2>&1 |awk 'NR==1{ gsub(/"/,""); print $3 }'`
echo "[Requirement-Java] JAVA_VERSION: ${JAVA_VERSION}"
if [[ "$JAVA_VERSION" < "1.8" ]]; then
echo "[Requirement-Java] Please install JDK 8.0+ or JRE 8.0+"
exit 1
fi
cd `dirname $0`
BIN_DIR=`pwd`
echo "[BIN_DIR] BIN_DIR: ${BIN_DIR}"
java -jar mybatis-generator-gui.jar
if [ $? -ne 0 ]; then
echo "start jar fail"
exit -1
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/xiaoli123/mybatis-generator-gui.git
git@gitee.com:xiaoli123/mybatis-generator-gui.git
xiaoli123
mybatis-generator-gui
mybatis-generator-gui
master

搜索帮助