The island of Java, local people calls it Java since the ancient time. The name of Indonesia did not exist yet at that time. Since a long time ago, island of Java is exceptionally beautiful and fertile with pleasant climate. This condition has made the island to be comfortably to live in, this is the island of gods. This might be true. The Javanese people in Javanese language are (they have graded language: alus means soft and polite to be used when speaking with elder men or respected people and kasar or rough to be used by common people).
Tiyang from Ti Hyang (alus)
Uwong from Wahong (kasar)
Both have same meaning, the descendants of gods.
According to wayang kulit stories and some people believe that the first kings or rulers in ancient Jawa were gods themselves descending from kahyangan (Heaven Kingdom). Java was almost uninhibited.
The first kingdom in Java was Medhang Kamulan (kamulan from mula – beginning) means a man who has begun to create life existance. The location of Medhang Kamulan was in the mountain of Mahendra (now, Gunung/ Mount Lawu) in the border of Surakarta and Madiun regencies. The king was S.H. Guru himself descended from Kahyangan, his name was Sri Paduka raja Mahadewa. He moved his kingdom to Mount Gede in Bogor, West Java, with his assistant Narada, as Patih (chief minister). In Mount Gede, the court ranking were :
1. King
2. Patih
3. Brahmana (priest)
4. Senopati (chief warrior)
5. Jaksa (judge)
Then he moved back to Lawu. He began to construct his palace with building imitating the ones in kahyangan. For cultural entertainment he created gamelan (Javanese music instruments) by the name of Lokananta to accompany gods while they were dancing (beksan).
To guard his palace, he assigned two giants to stand in front of the entrance gate. Their names were Cingkarabala and Balaupata (nowadays, the Karatons in Java have giant statues with same names to be placed in front of the entrance gates).
The heirloom master, he was also a god or Jawata (also means the teacher of Javanese people), Empu Ramadi or Ramayadhi were instructed by king Mahadewa (Guru) to make heirlooms for gods, such as keris (dagger), cakra, arrows, etc. Up to now, Empu Ramadi was considered as the first Keris maker in Java.
After several years ruled in Java, Guru returned to kahyangan. He sent five of his sons to rule in several places :
1.God or Sang Hyang (S.H.) Sambo in the kingdom of Medhangprawa (Mount Rajabasa) in Sumatra. His name was Sri Maharaja (S.M.) Maldewa.
2.S.H. Brahma in Medhang Gili in Mount Mahera (Anyer) by the name of S.M. Sunda. That's why the people of West Java are called Tiyang (people) of Sunda.
3.S.H. Endra in Mount Mahameru (now, Mount Semeru - East Java) by the name of S.M. Sakra. The kingdom was Medhang Gana.
4.S.H. Wisnu in Mount Gora (now, Mount Slamet, nearby Tegal Central Java, the kingdom was Medhang Puro, his name was S.M. Suman).
5.S.H. Bayu in Mount Karang (Bali). His name was S.M. Bimo of the kingdom of Medhang Gora.
He sent also several dewas to become Penditas and that was the beginning of Darma (religious) teaching in Java, the local name was Pranata Gama (organizing of religious teaching).