# 10. Spring Boot安装

Spring Boot可以跟经典的Java开发工具一起使用或安装成一个命令行工具。无论哪种方式，你都需要安装[Java SDK v1.8 ](http://www.java.com/)或更高版本。在开始之前，你需要使用下面的命令，检查下当前安装的Java版本：

```
$ java -version
```

如果你是一个Java新手，或想体验一下Spring Boot，你可能想先尝试[Spring Boot CLI](/spring-boot/ii.-getting-started/10.-installing-spring-boot/10.2.-installing-the-spring-boot-cli.md)（命令行界面）。否则，请继续阅读“经典”的安装指南。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jack80342.gitbook.io/spring-boot/ii.-getting-started/10.-installing-spring-boot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
