SVN r32817
Correct the classpath to correctly include the local directory so Java programs find the application class

SVN r32823
Cover the remaining code paths for Java apps to define class path
Merge pull request #2 from rhc54/v1.8

CMR4926