springboot jdk 1.8 not found
时间: 2023-09-12 20:05:00 浏览: 207
jdk 1.8下载
当出现"environments was not found on the java.library.path"错误时,可能是由于Spring Boot版本号的问题。您可以尝试将版本号改为较新的版本。您可以在pom.xml文件中的spring-boot-starter依赖中找到版本号,并将其更新为最新版本。例如,将<version>1.3.2</version>改为最新版本号。
如果您使用的是Linux操作系统,并且需要设置环境变量以安装JDK 1.8,您可以按照以下步骤进行操作:
1. 使用命令yum search java|grep jdk查询可用的JDK版本;
2. 使用命令yum install java-1.8.0-openjdk-devel.x86_64安装JDK开发环境。
通过以上步骤,您应该能够解决"springboot jdk 1.8 not found"的问题。请确保您按照正确的步骤和命令进行操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [idea springboot environments was not found on the java.library.path](https://blog.csdn.net/hanzl1/article/details/104108608)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [SpringBoot学习之环境搭建篇(一)1.1 - JDK1.8](https://blog.csdn.net/liyb1078422974/article/details/109674483)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文