Corona-Studio / ProjBobcat

The next generation Minecraft launcher core written in C# providing the freest, fastest and the most complete experience.
https://kb.corona.studio/zhCN/projbobcat/
MIT License
159 stars 21 forks source link

FindJava() 无法返回 JDK16 和 JDK17 的路径 #62

Closed akchiji888 closed 2 years ago

akchiji888 commented 2 years ago

ProjBobcat.Class.Helper.SystemInfoHelper.FindJava()只能返回JRE8的路径,无法返回新版本所使用的JDK16与JDK17的路径

tyanyuy3125 commented 2 years ago

这是一个已知的问题,并且解决方案也已经有了。不久之后会引入新的java检测方法。

laolarou726 commented 2 years ago

现在只需要调用 SystemInfoHelper.FindJavaFull() 即可对所有可用磁盘进行全盘搜索 Javaw.exe