For some time I have received this Java compile error in Eclipse Helios SP2
A class file was not written. The project may be inconsistent, if so try refreshing this project and building it MyClass.java
Unknown Java Problem
After Googling and some debugging I found out that this is caused by Eclipse having a 138 character limit (or something like that) for main class + inner class names. It might also be 256 character limit for the full path, I am not 100% sure. First I tested if it makes any difference whether you use OpenJDK or Sun JDK, but it had no difference.
You can resolve the problem simply by making your inner class names shorter.
Take a look to our open Java-developer jobs in Helsinki.
https://rekry.phz.fi/#/jobs