acquire Java Path
Check the given path to a Java installation for validity and return it, if it is valid. If the passed path is a UNIX symlink or Windows lnk, it is resolved, then returned. If the passed path is considered invalid, the system default is acquired and returned.
Return
Returns the path to the Java installation. If user input was incorrect, SPC will try to acquire the path automatically.
Author
Griefed
Parameters
path To Java
The path to check for whether it is a valid Java installation.