java.util.NoSuchElementException at java.util.Scanner.throwFor(Unknown Source) at java.util.Scanner.next(Unknown Source) at ex2.main(ex2.java:11)
Joined: Aug 03, 2002
That exception happens when thre are no tokens to be read by the scanner. So it looks as if emacs is returning an end of input (or end of file) immediately. But why? I do not know. Are you using Xemacs for windows?
Joined: May 25, 2005
hi Barry Gaunt , thanks for ur reply
Yes, I am using emacs for window. I felt puzzled y I couldn't get it working using emacs.