LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java Could Not Create The Virtual Machine (https://www.linuxquestions.org/questions/linux-software-2/java-could-not-create-the-virtual-machine-948069/)

SubZeroJake 06-01-2012 07:54 PM

Java Could Not Create The Virtual Machine
 
I have a 128mb with 256mb burstable VPS running Debian. When I try and run java I receive the following error.
Code:

root@ddk:~# javac -Xmx64m apples.java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

This is odd because then I run
Code:

java -Xmx64m apples
it works just peachy. I believe this is a problem with memory I just have a hard time believing that 128mb is not enough to compile a one line program. Thanks for any help.


All times are GMT -5. The time now is 11:59 AM.