Fixed webapps folder issue and java home