heapdump full the /

Hi everybody;
Javaecore files and heapdump created every day in my system in the "/" and make it full. Is there any way to disable this core files or change there directory from the "/" to "/tmp".
Note that AIX level is 5.2 with ML 6.

BeSt ReGaRs