Explanation:

Make sure your main class is public! Otherwise the browser won't be able to see it.