[Wine] Java virtual machine problem on wine

Frédéric Delanoy frederic.delanoy at gmail.com
Sat Jul 24 01:49:19 CDT 2010


On Sat, Jul 24, 2010 at 01:22, Martin Gregorie <martin at gregorie.org> wrote:
> On Fri, 2010-07-23 at 15:45 -0500, chamanx64 wrote:
>> Code:
>> $ wine java helloworld
>> hello world
>> $ wine java -Xmx500M helloworld
>> Error occurred during initialization of VM
>> Could not reserve enough space for object heap
>> Could not create the Java virtual machine.
>>
>
> What version of Java (show the output from  "java -version") and is this
> Java for Windows or your native OS?

Since he uses wine to run java, it's obviously the windows version.

> What OS are you using?
> How much RAM is installed?
> How big is your swap space?
>
> This is what my system shows with my Java hello world program:
> - $ java -Xmx500M Hello
>  Hello from Java

He tries to run wine32 java under wine, not native linux version.
However your test may help to check if he gets the same memory error.

Frédéric



More information about the wine-users mailing list