added dummy java support, fixed default c++ lang bug