changes to accept installDir as argument to java prgm