remove java environment for box separation.