Commit f78e0180 authored by 真心's avatar 真心
Browse files

Update Java to 17

parent d9e1ed50
...@@ -24,7 +24,7 @@ EN | [中文](README_zh-CN.md) ...@@ -24,7 +24,7 @@ EN | [中文](README_zh-CN.md)
### Requirements ### Requirements
* Java SE - 16 ([mirror link](https://github.com/adoptium/temurin16-binaries/releases/tag/jdk-16.0.2+7) since Oracle required an account to download old builds) * Java SE - 17 ([mirror link](https://github.com/adoptium/temurin17-binaries/releases/tag/jdk-17.0.3+7) since Oracle required an account to download old builds)
**Note:** If you just want to **run it**, then **jre** is fine **Note:** If you just want to **run it**, then **jre** is fine
...@@ -142,7 +142,7 @@ character falling from a very high destination, exact location that you marked. ...@@ -142,7 +142,7 @@ character falling from a very high destination, exact location that you marked.
# Quick Troubleshooting # Quick Troubleshooting
* If compiling wasn't successful, please check your JDK installation (JDK 16 and validated JDK's bin PATH variable) * If compiling wasn't successful, please check your JDK installation (JDK 17 and validated JDK's bin PATH variable)
* My client doesn't connect, doesn't login, 4206, etc... - Mostly your proxy daemon setup is *the issue*, if using * My client doesn't connect, doesn't login, 4206, etc... - Mostly your proxy daemon setup is *the issue*, if using
Fiddler make sure it running on another port except 8888 Fiddler make sure it running on another port except 8888
* Startup sequence: Mongodb > Grasscutter > Proxy daemon (mitmdump, fiddler, etc.) > Client * Startup sequence: Mongodb > Grasscutter > Proxy daemon (mitmdump, fiddler, etc.) > Client
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
### 环境需求 ### 环境需求
* Java SE - 16 (当您没有Oracle账户,可以使用[镜像](https://github.com/adoptium/temurin16-binaries/releases/tag/jdk-16.0.2+7)) * Java SE - 17 (当您没有Oracle账户,可以使用[镜像](https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jdk/))
**注:** 如果您仅仅想要简单地**运行服务端**, 那么使用 **jre** 便足够了 **注:** 如果您仅仅想要简单地**运行服务端**, 那么使用 **jre** 便足够了
...@@ -142,6 +142,6 @@ chmod +x gradlew ...@@ -142,6 +142,6 @@ chmod +x gradlew
# 快速排除问题 # 快速排除问题
* 如果编译未能成功,请检查您的jdk安装 (JDK 16并确认jdk处于环境变量`PATH` * 如果编译未能成功,请检查您的jdk安装 (JDK 17并确认jdk处于环境变量`PATH`
* 我的客户端无法登录/连接, 4206, 其它... - 大部分情况下这是因为您的代理存在问题.如果使用Fiddler请确认Fiddler监听端口不是`8888` * 我的客户端无法登录/连接, 4206, 其它... - 大部分情况下这是因为您的代理存在问题.如果使用Fiddler请确认Fiddler监听端口不是`8888`
* 启动顺序: MongoDB > Grasscutter > 代理程序 (mitmdump, fiddler等.) > 客户端 * 启动顺序: MongoDB > Grasscutter > 代理程序 (mitmdump, fiddler等.) > 客户端
...@@ -14,8 +14,8 @@ plugins { ...@@ -14,8 +14,8 @@ plugins {
id 'application' id 'application'
} }
sourceCompatibility = 16 sourceCompatibility = 17
targetCompatibility = 16 targetCompatibility = 17
repositories { repositories {
mavenCentral() mavenCentral()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment