Adding a mechanism for jvm.dll detection.

This change prevents the need to add the location of jvm.dll to the path.