generated from postyizhan/Wiki-Template
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08ff4cf
commit d94c0b1
Showing
5 changed files
with
68 additions
and
21 deletions.
There are no files selected for viewing
22 changes: 1 addition & 21 deletions
22
...n/choose-and-download-and-install-java.md → ...a/choose-and-download-and-install-java.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: 环境变量 | ||
sidebar_position: 3 | ||
--- | ||
|
||
# 环境变量 | ||
|
||
TODO | ||
|
||
## 案例 | ||
|
||
### 服务端内置 Java | ||
|
||
TODO | ||
|
||
### 客户端内置 Java | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: 绿色版 Java | ||
sidebar_position: 4 | ||
--- | ||
|
||
# 绿色版 Java | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: Java 相关 | ||
slug: /java | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Java 相关 | ||
|
||
你的服务端和客户端都需要安装 Java 才能运行。各个游戏版本需要安装的 Java 版本不同。 | ||
|
||
原则上选择最新的兼容的 Java 版本,可以体验到最新的优化,并且大部分现代插件对最新版的特性有优化(比如 AuthMeReReload)。 | ||
|
||
<details> | ||
<summary>JRE 和 JDK 是什么? 我该怎么选择?</summary> | ||
|
||
JRE (Java Runtime Enviroment) 是 Java 的运行环境。面向 Java 程序的使用者,而不是开发者。如果你仅下载并安装了 JRE,那么你的系统只能运行 Java 程序。 | ||
JRE 是运行 Java 程序所必须环境的集合,包含 JVM 标准实现及 Java 核心类库。它包括 Java 虚拟机、Java 平台核心类和支持文件。它不包含开发工具(编译器、调试器等) | ||
|
||
JDK (Java Development Kit) 又称 J2SDK (Java2 Software Development Kit),是 Java 开发工具包,它提供了 Java 的开发环境 | ||
(提供了编译器 javac 等工具,用于将 java 文件编译为 class 文件) | ||
和运行环境 (提供了 JVM 和 Runtime 辅助包,用于解析 class 文件使其得到运行)。 | ||
如果你下载并安装了 JDK,那么你不仅可以开发 Java 程序,也同时拥有了运行 Java 程序的平台。JDK 是整个 Java 的核心,包括了 Java 运行环境 (JRE),一堆 Java 工具 tools.jar 和 | ||
Java 标准类库 (rt.jar) | ||
|
||
总结: 只开服务端下载 JRE 即可,JDK 也没问题 | ||
|
||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: 路径相关 | ||
sidebar_position: 4 | ||
--- | ||
|
||
# 路径相关 | ||
|
||
## 相对路径 | ||
|
||
TODO | ||
|
||
## 绝对路径 | ||
|
||
TODO |