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