Java on Linux needs the Linux /proc filesystem to work. In a chroot this will be missing. You will get cryptic errors such as these:
error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
To add it into the chroot, run this from outside the chroot,
mount --bind /proc /path/to/chroot/proc
You can bind /dev
in the same way.