Short answer: current generations of JVMs cannot guarantee this.
However, if your application is such that it requires these kinds of things, it is difficult to understand how you could implement it in any programming language in a typical modern operating system if you are not working without a removable device. And even then, you probably have to rely on the OS for zero physical memory when you exit the program. (If there are no errors, the OS must have zero memory before transferring it to another process, but I do not think this is indicated when this happens.)
. / , . , "root" , . , !