vfox icon indicating copy to clipboard operation
vfox copied to clipboard

[BUG]: version of plugin inconsistency

Open ivan-sirosh opened this issue 10 months ago • 0 comments

Version 0.6.0 OS Windows

Describe the bug search for java

PS C:\Users\operator>  vfox info java
Plugin Info:
Name     -> java
Version  -> 0.4.3
Homepage -> https://github.com/version-fox/vfox-java
Desc     ->
Support for multiple JDK distributions, such as: Oracle, Graalvm, Eclipse & more.
Legacy Files -> [.sdkmanrc]
Notes:
======
   Listed below are the supported distributions and their short names.
    - Oracle:     x.y.z-oracle
    - OpenJDK:    x.y.z-open
    - GraalVM:    x.y.z-graal
    - Temurin:    x.y.z-tem
    - Zulu:       x.y.z-zulu
   Others please see: https://github.com/version-fox/vfox-java
PS C:\Users\operator> vfox ls java
no available version
PS C:\Users\operator> vfox search java
Please select a version of java to install [type to search]:
   v23+37
   v22.0.2+9
->  v21.0.2+13 (LTS)
   v20.0.2+9
   v19.0.2+7
   v18.0.2.1+1
   v17.0.2+8 (LTS)
   v16.0.2+7
   v15.0.2+7
   v14.0.2+12
   v13.0.2+8
   v12.0.2+10
   v11.0.16+8 (LTS)
   v8.0.342+7 (LTS)
Press ↑/↓ to select and press ←/→ to page, and press Enter to confirm
Preinstalling [email protected]+13...

There is no way to install the desired graal version, or at least it is not described in the help message.

Another problem is to uninstall the version!

PS C:\Users\operator> vfox ls java
-> v21.0.2+13
PS C:\Users\operator> vfox un [email protected]+13
[email protected]+13 is not installed
PS C:\Users\operator> vfox un [email protected]+13
Uninstalled [email protected]+13 successfully!

The v symbol in that case is redundant

ivan-sirosh avatar Jan 10 '25 20:01 ivan-sirosh