Hi Shammy
Apart from properties.xml, make sure that if you're using the JAVA_HOME environmental variable, it's set to the correct value. Same with PATH environmental variable.
Also, if you have Jaspersoft, you will need to set the environmental variable JRE_HOME to the correct, current value.
Hope this helps -Nika