I recently tried running java on debian 10 buster linux. I installed the default-jre and openjdk-11-jdk using the sudo command in the terminal. I confirmed the installations by running the command "sudo apt search openjdk" and it was installed. But when I try to verify the "java version" an error message could not create the Java Virtual Machine
How do I go about the process or what am I missing out to run java? Thanks