Java compilation error says-"Parameterized types available if source level is 5.0"
While compiling java programs, i get the error as "parameterized types available only if source level is 5.0". I have a default java 5 in my debian os and i have installed java 6.
I have also set the classpath in .bashrc file as follows:
1. export $JAVA_HOME=/home/....../jdk1.6.0_18
2. export PATH=$PATH:$JAVA_HOME/bin
What might be wrong with my java installation??
Last edited by anushya.k.kutty; 04-12-2010 at 05:24 AM.