We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf53f0 commit a506f32Copy full SHA for a506f32
README.md
@@ -70,6 +70,11 @@ Example: `jenv link javac`
70
10) **Uninstall jenv and automatically restore a Java version of your choice**
71
*jenv uninstall `<name>`*
72
Example: `jenv uninstall jdk17`
73
+
74
+11) **Automatically search for java versions to be added**
75
+*jenv autoscan `?<path>?`*
76
+Example: `jenv autoscan "C:\Program Files\Java"`
77
+Example: `jenv autoscan` // Will search entire system
78
## How does this work?
79
This script creates a java.bat file that calls the java.exe with the correct version
80
When the ps script changes env vars they get exported to tmp files and applied by the batch file
0 commit comments