I have code like (HashMap<String, variable> that I am getting compile error on. What jre should I use for this?
Thanks.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35247
7
posted
0
A variable name in that spot will not do - it has to be a class name. Generics (which this uses) were introduced in Java 5, so a JRE version 1.5 and higher is needed.