solved the can't find main error in ubuntu,by typing it again;