If you are getting these kind of errors when you try to install java on debian under a virtual machine, then you perhaps need to increase the available memory.
Could not create the Java virtual machine. error adding brasil.gov.br/brasil.gov.br.crt
Reply