public class FindExecutable extends Object
| Constructor and Description |
|---|
FindExecutable() |
| Modifier and Type | Method and Description |
|---|---|
static File |
findExec(String name)
Finds the path to an executable of a given name , based on the value of
PATH environment variable.
|
static void |
main(String[] args)
Test function for the class
|
public static File findExec(String name)
name - the name of the executable to search for.public static void main(String[] args)
args -