Adding the persistent directory paramter
Fixed the java_home