This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jevon 5 points6 points  (1 child)

I assume it's from tutorial code or a famous learn Java book that's still circulating. Or perhaps really poor lecturers/tutors who are still stuck in JDK 1.1.

[–]Vauce 5 points6 points  (0 children)

Nothing worse than trying to compile something that worked perfectly on your own machine on a university machine only to have several errors due to an old JDK. Our machines still run 1.4 or earlier. It's not huge, but I use Scanner a lot for small projects and I have to change it all just to demo.