mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-09-09 21:49:08 +00:00
文档更新
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
|
||||
- 环境要求:
|
||||
|
||||
**JDK**:==1.8
|
||||
**JDK**:>=1.8
|
||||
|
||||
**maven**:>=3.6
|
||||
|
||||
@@ -95,6 +95,11 @@ cd dbswitch/
|
||||
sh ./docker-maven-build.sh
|
||||
```
|
||||
|
||||
**特别注意:** 在Java9及以上版本默认情况下不允许应用程序查看来自JDK的所有类,但在dbswitch中利用反射计算对象的字节大小,所以需要在JVM启动时(bin/datasync.sh脚本)需要增加如下参数:
|
||||
```
|
||||
--add-opens java.base/jdk.internal.loader=ALL-UNNAMED
|
||||
```
|
||||
|
||||
### 2、安装部署
|
||||
|
||||
当编译打包命令执行完成后,会在dbswitch/target/目录下生成dbswitch-relase-x.x.x.tar.gz的打包文件,将文件拷贝到已安装JRE的部署机器上解压即可。
|
||||
|
Reference in New Issue
Block a user