"I am most disappointed with this judgement. It feels very intolerant and violative of basic human rights. It's a shame," Aamir said in a statement.
Section 377 of the IPC holds that a same gender sexual relationship is against the order of nature and is an offence.
"My Brother…Nikhil" director Onir expressed his views on his Twitter handle.
He wrote Wednesday: "A dark day in the history of judiciary and human rights in India. I am angry by the Supreme Court ruling on IPC 377."
Actor-producer John Abraham, who acted as a cross-dresser in Vishal Bhardwaj's "7 Khoon Maaf", is also disappointed by the decision.
"India has harboured archaic prejudices once again. The Supreme Court has criminalised homosexuality," John tweeted post the judgement.
Photos: 'Rock On 2' stars Farhan, Shraddha on 'Yaaron Ki Baraat'
Photos: Ajay Devgn launches 'Shivaay' comics at Mumbai Comic Con
Photos: WWE star Sheamus and John Abraham clash in Mumbai
Umesh Yadav's birthday: Indian cricketers and their tales of struggle
Photos: Raveena Tandon, husband Anil Thadani's dinner date in Bandra