So tonight, I was going to start re-learning Java, but then I talked to a friend who knows more about this stuff than I do and he recommended that if my long-term goal was to put up a web page with apps on it, I should learn PHP, Javascript and MySQL instead.
After struggling with Aptana Studio 3 for a bit, I came to a realization: I don't want to build a webpage. All I want to do is make a game, a very simple one, not even graphical (though I may want to make it graphic in the future just for the sake of aesthetics), to be hosted on a webpage. What programming language should I learn for that?