added the dynamic properties file code and embedded jre