I have a question similar to yours, in my case, I don't get a pop-up but a message in the console:
Error: Could not find or load main class NewClass
On top of that, the option of adding toolkit.jar is greyed out. Any ideas why? Could it already be in there?