It's a bit suspicious when you keep talking about HashTable - there is no such class in the standard libraries. There is one called Hashtable though. You should have seen error messages about this. Have you created your own HashTable class?
The error message indicates your JDK knows what generics are, you it must be at least JDK 5. However the real Hashtable class certainly has been parameterized since JDK 5. I think you have a duplicate HashTable or Hashtable class somewhere. If you didn't create your own, check the classpath. Does it mention an older JDK for some reason?
What do you get? [ December 27, 2007: Message edited by: Jim Yingst ]
Or better still, declare your object as a java.util.Map and then use java.util.HashMap.
What happens in Eclipse is that you enter the beginning of the name . . .Has . . . and push ctrl-space. Then you get a dropdown list of possible matches, and if you click on the xalan version (which may appear first) that's what you get. The options are in alphabetical order by class name and package name (I think), so com.something comes before java.something.
Seriously? That's what you're going with? I prefer this tiny ad: