check the java file path relative to appdir

Checking for the java bin needs to be checked relative to the application directory.  This fix addresses deployment of standalone java applications.