version-fox / vfox

A cross-platform and extendable version manager with support for Java, Node.js, Flutter, .Net & more

Home Page:https://vfox.lhan.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: Java installed by vfox cannot be used normally

Wn16h7 opened this issue · comments

Version
vfox: 0.5.2
OS
Windows

Describe the bug
The Java installed by vfox cannot be used normally. I have tried various versions of Oracle and Zulu such as 8, 11, and 17.

Screenshots[optional]
If applicable, add screenshots to help explain your problem.
image
image
image
image

Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

I tried the method provided by https://stackoverflow.com/questions/6362037/java-error-opening-registry-key, but I did not install additional java independently

升级到最新.

version-fox/vfox-java#16

感谢,我使用winget安装的,以为是最新版

升级到最新.

version-fox/vfox-java#16