What's wrong ??? Yikes! I'm not sure. When does the problem occur? When compiling? When running? What OS are you using? What version of Java? This looks like it might be a JVM problem. If nothing else seems to work, perhaps uninstalling your JRE and then reinstalling it will help. What happens when you try a very simple Java program, such as the following?