The MiG-17 was license-built in both China and Poland. In the early 1950s, the PLAAF obtained a number of Soviet-built MiG-17 Fresco-A day fighters, designated "J-4" or, when passed on to other countries, "F-4". The Chinese obtained plans for the MiG-17F Fresco-C day fighter in 1955, along with two completed pattern aircraft, 15 knockdown kits, and parts for ten aircraft.
The first Chinese-built MiG-17F, produced by the Shenyang factory, performed its initial flight on 19 July 1956 with test pilot Wu Keming at the controls. The MiG-17F was known as the "J-5" in Chinese service, or "F-5" when it was exported. One was actually trialed as a torpedo bomber, but not surprisingly the concept never made it into formal service.
The Chinese then went on to produce the MiG-17PF interceptor as the "J-5A (F-5A)". Plans were obtained in 1961, but the country was in turmoil in the early 1960s and the first Chinese-built MiG-17PF, produced at the Chengdu factory, didn't fly until 1964, when the type was basically obsolete. It was given the designation of "J-5A (F-5A)". A total of 767 J-5s and J-5As were built to end of production in 1969.
Somewhat more practically, the Chinese built a two-seat trainer version of the MiG-17, designated the "JJ-5 (FT-5)". It was something of a hybrid, featuring the cockpit system of the MiG-15UTI / JJ-2, the non-afterburning VK-1A engine of the MiG-17 Fresco-A, and the larger airbrakes of the MiG-17F. It also had a protruding upper intake lip resembling that of the MiG-17PF, but the JJ-5 wasn't fitted with radar. All the nose armament was deleted, with the aircraft carrying a single NR-23 cannon in a belly pack. First flight was in 1968, with the type built at the Chengdu factory.
About 1,061 JJ-5s were built to end of production in 1986, with the type exported to a number of countries. Some sources have referred to it as a "MiG-17UTI", but formally speaking there never was an aircraft with that designation.
Users - Albania, Pakistan, Bangladesh, Sri Lanka, North Korea, China.