This application requires a Java Runtime Environment 1.7.0

时间:2024-03-28 15:11:02

luyten运行报错

This application requires a Java Runtime Environment 1.7.0

原因:jdk注册列表被删除
需修改注册列表
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8

添加JavaSoft、Java Runtime Environment、1.8
目录结构:
This application requires a Java Runtime Environment 1.7.0
Java Runtime Environment添加 CurrentVersion 值 1.8
This application requires a Java Runtime Environment 1.7.0
1.8 添加 D:\jdk18_64\jre8 (jre目录)
This application requires a Java Runtime Environment 1.7.0