Skip to content

Commit f96da21

Browse files
committed
Update readme
1 parent 200a09f commit f96da21

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,11 @@ In this example config, the command `jvs 17` will delete existing java dirs in t
1818

1919
### Usage:
2020
`jvs <javaVersion>`
21+
22+
### Info:
23+
This does not change the system wide PATH env variable, it calls _putenv in the parent process (so cmd.exe), so that only that process java path will be changed.
24+
It uses game hacking techniques with VirtualAllocEx, WriteProcessMemory and CreateRemoteThread in order to achieve that.
25+
26+
#### Why a c++ program instead of a simple batch file ?
27+
Because c++ is fun, and it allows to have a cool json config file, as well as the ability to remove existing java paths to avoid conflicts.
28+
Overall it's fast, and it will allow more features in the future, such as a jdk downloader.

0 commit comments

Comments
 (0)