hi everyone, Help me out, i got the error while writting generic dao class, saying jre5 is needed(i have jre6). Has java 6 excluded parametrized type collection???
public interface GenericDAO<T, ID extends Serializable> {
T findById(ID id, boolean lock); List<T> findAll(); T makePersistent(T entity); void makeTransient(T entity); void flush(); void clear(); } [ March 10, 2007: Message edited by: Bear Bibeault ]
You need 5.0 or greater for the JDK to compile and the JRE to run.
So one of those two, I am guessing is less than 5.0
Do you have any Oracle installed, they tend to want to put their stuff first in the path var, and they use a really old JRE version and it really messes with your machine.