Walter P. Havenstein, chief executive at McLean-based contracting giant Science Applications International Corp., will retire next summer, the company announced Monday.

In the announcement, Havenstein, who has led SAIC for just over two years, said he was leaving for personal reasons. He will depart in June.

In recent months, Havenstein has spoken candidly about the budget challenges facing government contractors. In its most recent earnings announcement, SAIC reported roughly 6 percent drops in revenue and profit.

Havenstein came to SAIC from BAE Systems, which bases its U.S. operations in Arlington, where he was chief executive and president. He also had served as BAE’s chief operating officer and had headed the company’s electronics and integrated solutions unit. Previously, Havenstein had served as president of the Sanders defense electronics business, which was acquired by BAE from Lockheed Martin in 2000.