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 8af3d3a commit 9c4c2ffCopy full SHA for 9c4c2ff
README.md
@@ -72,9 +72,10 @@ Example: `jenv link javac`
72
Example: `jenv uninstall jdk17`
73
74
11) **Automatically search for java versions to be added**
75
-*jenv autoscan `?<path>?`*
+*jenv autoscan [--yes|-y] `?<path>?`*
76
Example: `jenv autoscan "C:\Program Files\Java"`
77
Example: `jenv autoscan` // Will search entire system
78
+Example: `jenv autoscan -y "C:\Program Files\Java"` // Will accept defaults
79
## How does this work?
80
This script creates a java.bat file that calls the java.exe with the correct version
81
When the ps script changes env vars they get exported to tmp files and applied by the batch file
0 commit comments