---
title: "tomcat启动出现The JRE could not be found.Edit the server and change the JRE location"
author: "香格里拉没有底"
date: "2016-08-22T13:56:05Z"
tags: []
categories: ["编程语言"]
slug: "tomcat-the-jre-could-not-be-found-edit-the-server-and-change-the-jre-location"
draft: false
lastmod: "2016-08-22T13:56:05Z"
id: 2319413
url: "https://onekeyes.iteye.com/blog/2319413"
---

**更换JDK版本后，tomcat启动出现：**

**The JRE could not be found.Edit the server and change the JRE location.**

**解决方案：eclipse中：Windows-&gt;Preferences-&gt;Server-&gt;Runtime Environments**

   
![](http://dl2.iteye.com/upload/attachment/0119/4933/47869918-5d18-3ebe-8457-9086a5c6a906.png)  
   
![](http://dl2.iteye.com/upload/attachment/0119/4935/e73b9b59-c722-3309-9fc7-66781e412dba.png)  
 

单击edit选择对应的JRE即可