Patching issue when using openjdk to run tests and not using the wrapper scripts.  OpenJDK doesn't provide classloader access the same way, so I now detect it and get the proper path via the classpath itself.
Remove some left over debugging lines
Add explanatory comment