It is similar to locate or get-command. The code is compatible with Windows, Linux, and MacOS. The function will return the full file system path to the executable file requested, or null if the file ...
Run the main function with the argument -h to see the available options. If running the code from a jar file: Run the jar file with the argument -h to see the available options. Example: java -jar ...