1. 程式人生 > >The JRE could not be found.Edit the server and change the JRE location.

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

之前更改了了一個較低的jdk的版本看了看一個專案的程式碼,不知所云,然後再改回來,

混亂之中只要啟動Tomcat就出現這種錯誤,還是無法找到JRE,最後如此解決:

在Windows->Preferences->Server->Runtime Environments

選擇Tomcat->Edit,在jre中選擇相應的jdk版本,完事。