No I/O error in Eclipse

Hi All,

I am a noob here and have been lurking on this forum for a while. I am currently working on a simple game but all of the sudden Eclipse doesn’t want to run it anymore and just spits the “No I/O” message to the Console. I am pretty sure it is some simple setting somewhere but surprisingly Google did not return anything valuable. Instead of spending few hours fooling around with configuration and risking to make more damage I would appreciate any hints?

Sounds like that a screenshot would be helpful.

That or paste exactly what the console outputs.

This shouldn’t happen ever, you should honestly try restarting your computer and downloading a new copy of Eclipse.

Thanks guys. I unistalled Java completely, deleted eclipse, rebooted my laptop, downloaded and reinstalled java and same with eclipse. After importing workspace I tried to run the game again and got the same error. Below are screenshots that really don’t say much.

Here is what I get in Eclipse console

And if I try to run it from command prompt:

I am playing around with pure Java2D, so no fancy libraries or paths to mess up things. BTW. I just tried to start a different project and it ran just fine, which leads to conclusion that something is wrong only with this particular project… will dig deeper tonight. Again any pointer would be helpful.

I have not a single clue to how this error is arising but i can tell you this, If its running other projects just re-start your project (Considering your not that far along). And if you are copy and paste the code.

debug your app from start to finish? or it wouldnt even run?

No it doesn’t even run in debug or regular mode.

I will try what Jacob Pickens suggested and make a new project tonight and copy&paste content and rebuild the whole thing.

Clean your project first and see if it works.
Eclipse > Project > Clean.

EDIT: This is not one Eclipse error. This is a java error. Check if you have java.io package.

Is this project using a different execution environment or target jdk?

I am slowly getting there… I am able to run any project and also this one IF I remove multiplayer communication classes that use io. I installed both JRE and JDK and it seems neither has io packages included. Is that normal, I would assume that io should be part of any standard installation. So the next two questions are, how do I check if I have io and if not where do I get it?