Exactly when and where meditation or Dhyana was invented is unknown. In India it is being practiced from ancient times. The statues of ancient God Lord Shiva and the Bramha had been found in meditating or Dhyana pose refer it has been originated with Hindu traditions. But, there are lots of contradictions.
Vashistha a Vedic sage is one of the saptarishi credited as chief author of Mandala 7 of Rigveda. He was said to be the first sage of the Vedanta school of Hindu philosophy by Adi Shankara.
There is a Sati pith named Tarapith on banks of Dawarka river in Rampisham, Birbhum district of West Bengal. It is known for its tantric temple and its adjoining cremation ground where sadhana (tantric rituals for awakening) are performed. The temple is dedicated to Goddess Tara a fearsome tantric aspects of Devi or Shakti.
Sage Vashistha practiced Sadhana to Tara devi, but was unsuccessful, then a devine voice instructed him to learn dhayana or meditation from a Saint in China or Tibet. The Saint train him and instructed him to do Sadhana using Dhyana through practice of Vamachara. It is associated with pancha-makara or pancha-tattva or five Ms. In literal terms they are Madya (wine), Mamsa (meat), Matsya (fish), Mudra (cereal), and Maithuna (sexual intercourse).
So, Dhyana or meditation came from China according to Vashistha story.
One can learn basic Tantra Meditation under a Teacher or a Guru, under the guidance. Learn Tantra meditation online at Anandadhara http://www.anandadhara.org/bmed.html