>>>Is it possible, using C#, to determine the location of a specified EXE? Specifically, I would like to find the install location of the Java SDK.
>>
>>Check
http://it.toolbox.com/blogs/paytonbyrd/how-to-use-findexecutable-from-c-3324>
>Well it was able to find the location of WinWord.exe based on a .doc path, but when I passed it a .java file, it returned an empty string. It's probable a file association problem.
Could be. If you double click on the java file, does it open the Java SDK correctly?
If it's not broken, fix it until it is.
My Blog