Error : illegal start of type
Hi,
Im getting the compilation error "illegal start of type " when i compile the following interface in command prompt
package compute;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface Compute extends Remote
{
<T> T executeTask(Task<T> t) throws RemoteException;
}
But it gets compiled in my Eclipse.
Can anyone help me?
Message was edited by:
Soph

