The missile, with a NATO code name SS-N-26, was launched from the Van Speijk Class frigate Oswald Siahaan and took 6 minutes to cover 155 miles and destroy a target vessel.
The successful launch was the first test by Indonesia's navy of its Yakhont missiles, and a long time coming, a senior officer said.
"The target ship was hit and sank," navy spokesman Rear Adm. Iskandar Sitompul said. "We bought these missiles a long time ago and have finally tested them."
Russian observers were present during the firing and drills for preparation for firing.
The Yakhont has a maximum range of around 190 miles when cruising at high altitude. But it will travel at cruise-missile levels -- 15-50 feet -- during the final minutes of its flight before hitting its target, Antara reported.
Yakhont missiles -- the export version of the P-800 Oniks missile produced for Russia's military -- are made by NPO Mashinostroyeniya, a rocket design bureau based in Reutov, Russia. During the cold war NPO produced several major weapons systems, including the SS-19 Intercontinental ballistic missile.
India is NPO's second largest customer after Russia for several missiles including the Yakhont. NPO technicians also helped develop India's indigenous missile the BrahMos.
Indonesia bought an undisclosed number of the Yakhont missiles for $1.2 million each in 2007 to deploy alongside the navy's Harpoon missiles purchased around the same time.
In December 2005, the Indonesian navy announced plans to buy Harpoon missiles from the United States, following the U.S. decision the month before to lift its military embargo on Indonesia.
"The number of the missiles and when it will be bought would still have to be discussed further," Indonesian navy chief of staff, Adm. Slamet Soebijanto told reporters at the time.
Similarly to the situation with the Yakhont missiles, military budget issues delayed testing and deployment of missiles purchased by Indonesia's navy.
When Indonesia announced in 2005 its intention to purchase Harpoon missiles, budget and planning assistant to the navy chief of staff, Maj. Gen. Yussuf Solichien said procurement had been a long process.
"These (Harpoon) missiles are as powerful as Exocet MM 38 missiles, which could hit targets (50-62 miles) away. We have the launchers but have not been using them in the last five years."
The all-weather, over-the-horizon, anti-ship missile Harpoon was developed and later manufactured by McDonnell Douglas, now Boeing Defense, Space and Security, beginning in the early 1970s.
In 2004, Boeing delivered the 7,000th Harpoon unit since the weapon's introduction in 1977. Further development of the Harpoon led to the land-strike weapon, the Standoff Land Attack Missile.
2014: The Year in Music [PHOTOS]