For my college project, I need to make a social networking site like FB with all the features it have currently.

I want to know what kind of stuff I need to begin my project. Like which languages, tools, platforms etc.
I will host this on my local server tho.

So far, I figured out JSP/Servlet, Apache Tomcat, MySQL and Java/Swing.

My Prof is against using PHP.

Thanks for your input.