BUG: fixing build errors for python (auto determines sys info ) and java ( uses java not scala for testing )