Skip to content

Symlink failed on windows #70

Description

@jantekb

I have installed 17.0.4 using jvms, but when I try to switch to it, some symlinking error is happening:

C:\repos\devolay>jvms ls
Installed jdk (* marks in use):
    1) 17.0.6

C:\repos\devolay>jvms u 17.0.6
2026/05/15 11:39:27 Switch jdk failed, symlink c:\tools\store\17.0.6 : The system cannot find the path specified.

C:\repos\devolay>dir c:\tools\store
 Volume in drive C is Windows
 Volume Serial Number is 6A3B-6CA3

 Directory of c:\tools\store

2026. 05. 15.  11:26    <DIR>          .
2026. 05. 15.  11:25    <DIR>          ..
2026. 05. 15.  11:26    <DIR>          17.0.6
               0 File(s)              0 bytes
               3 Dir(s)  30 726 692 864 bytes free

C:\repos\devolay>dir c:\tools\store\17.0.6
 Volume in drive C is Windows
 Volume Serial Number is 6A3B-6CA3

 Directory of c:\tools\store\17.0.6

2026. 05. 15.  11:26    <DIR>          .
2026. 05. 15.  11:26    <DIR>          ..
2026. 05. 15.  11:26    <DIR>          bin
2026. 05. 15.  11:26    <DIR>          conf
2026. 05. 15.  11:26    <DIR>          include
2026. 05. 15.  11:26    <DIR>          jmods
2026. 05. 15.  11:26    <DIR>          legal
2026. 05. 15.  11:26    <DIR>          lib
2026. 05. 15.  11:26             6 186 LICENSE
2026. 05. 15.  11:26               290 README
2026. 05. 15.  11:26             1 263 release
               3 File(s)          7 739 bytes
               8 Dir(s)  30 726 676 480 bytes free

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions