Beginner here.
I've just started a Java course, and am considering getting TextMate to use for writing. I'm getting this stupid error for reasons I know not why. I can compile and run a little test Java app from the terminal just fine but when I try and do it from within TextMate it yells at me:
So this is frustrating. Works fine from the terminal. Works fine from Xcode. I'd rather use TextMate if I could. Obviously there's something fundamental that I'm not getting. Maybe this isn't the best place to post this, but it seems like you guys are pretty kind to people who are new at this stuff.
I've just started a Java course, and am considering getting TextMate to use for writing. I'm getting this stupid error for reasons I know not why. I can compile and run a little test Java app from the terminal just fine but when I try and do it from within TextMate it yells at me:
Code:
Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:817)
at java.util.Scanner.next(Scanner.java:1431)
at java.util.Scanner.nextInt(Scanner.java:2040)
at java.util.Scanner.nextInt(Scanner.java:2000)
at testprogram.main(testprogram.java:6)
So this is frustrating. Works fine from the terminal. Works fine from Xcode. I'd rather use TextMate if I could. Obviously there's something fundamental that I'm not getting. Maybe this isn't the best place to post this, but it seems like you guys are pretty kind to people who are new at this stuff.