check the java file path relative to appdir