I want to execute a java program inside my debootstrap-chroot on an ubuntu machine for which I need to have java installed inside the chroot jail. I tried to install it using :
apt-get install openjdk-6-jdk
but it gives an error:
"perl: warning: Setting locale failed"
How can I fix this ? or is there a better way ?