Hey everyone,
Is there any reason that I would be missing the java.util.HashMap package? I have java.util.Hashtable, but no HashMap...
I have the most up to date JDK and JRE...
Thanks!
Hey everyone,
Is there any reason that I would be missing the java.util.HashMap package? I have java.util.Hashtable, but no HashMap...
I have the most up to date JDK and JRE...
Thanks!
Wow - that's weird! Could it be that your working on a mobile app like development for a Blackberry? The Blackberry Java does have a java.util.Hashtable
but no java.util.HashMap
... This would be a perfect match for your problem ;)
Edit
If you want to develop Blackberry applications, then you have to use the 'Blackberry Java', because that is the Java that is installed on the mobile. Otherwise just install a fresh eclipse on your machine. You can have as many eclipse IDE's on your machine as you like. They do not interfere.
If you're using Eclipse, is the JDK in the classpath for the project itself? Although you're eclipse instance may be pointing to the JDK, it may not be available within the project's own classpath.
As well, are you using the standard JDK? If you're using an implementation of the JDK that has a subset of the full JDK, that library may not be available.
BlackBerry devices use a subset of the Java API called J2ME. It does not have all of the features of the regular JDK, such as collections.