fix bug: add $ to FindBin in java command