Java cannot allow pointers, because doing so would allow Java applets to breach the firewall between the java execution environment and the host computer.
A pointer can be given any addres in memory, even addresses that might be outside the Java run-time system.
Java designed in such a way that as long as you stay within the confines of the execution enviroment , you will never need to use a pointer, nor would there be any benefit in using one.