demo on java dynamic compile feature