Make sure the Java SDK is installed correctly. And as the above has said, try to make the basic "Hello World" application and see how it goes. If you have done that and it worked, idk.