fix thrift java deploy scripts

N/A

Change-Id: Icc78fcdaab2a9e889a0b08dab1bd72c0f202a41e
Signed-off-by: liuhuahang <liuhuahang@zerus.co>