South Korea's STX Shipbuilding Co. said that its second-quarter earnings increased sharply on rising orders to build ships such as…