FelixSelter / JEnv-for-Windows

Change your current Java version with one line
Apache License 2.0
633 stars 85 forks source link

Support for jenv local #22

Closed rcsilva83 closed 2 years ago

rcsilva83 commented 2 years ago

Support for configuring a local version (per directory) with jenv local

FelixSelter commented 2 years ago

I checked how the original team did this

When you run a Java command, jenv will look for a `.java-version'

file in the current directory and each parent directory. If no such

file is found in the tree, jenv will use the global Java version

specified with `jenv global'

This will require a complete rewrite of this script which I planned to do anyway

FelixSelter commented 2 years ago

version2 is now released and contains the jenv local feature Thanks for your suggestion and please report any bugs

rcsilva83 commented 2 years ago

Thanks!