Weird! I ran it with Eclipse "run" and had no problems.
You could try updating Eclipse. I have JRE7 too. Sounds like an Eclipse problem if it works elsewhere!
Type: Posts; User: Squiffy
Weird! I ran it with Eclipse "run" and had no problems.
You could try updating Eclipse. I have JRE7 too. Sounds like an Eclipse problem if it works elsewhere!
Your code works fine for me (see tail end of output below).
So whatever the problem is, maybe it's not a Java problem. Have you tried other files? Do they all stop or just this one?
Read =...