Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch jdk failed, please manually remove #42

Open
LeiYangGH opened this issue Feb 23, 2024 · 2 comments
Open

Switch jdk failed, please manually remove #42

LeiYangGH opened this issue Feb 23, 2024 · 2 comments

Comments

@LeiYangGH
Copy link

LeiYangGH commented Feb 23, 2024

i use jvms init C:jdk

then jvms install...
then jvms switch reports:

Switch jdk failed, please manually remove C:/jdk

note i'm running ps as admin.

@ystyle
Copy link
Owner

ystyle commented Feb 26, 2024

If you want to modify the file location of the java_home soft link, you should execute:

jvms init --java_home c:\jdk

@LeiYangGH
Copy link
Author

i was using that to init. i mean in some occasion the error message is not accurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants