fix #1 repleace java properties