Re: Java virtual machine problem on wine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-07-23 at 15:45 -0500, chamanx64 wrote:
> Sorry i post the wrong example in there, so this is the real one:
> 
> 
> 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?

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

- $ java -version
  java version "1.6.0_17"
  Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
  Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

- $ cat /proc/version
  Linux version 2.6.32.16-141.fc12.i686.PAE
  (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) 
  (gcc version 4.4.4 20100630   
  (Red Hat 4.4.4-10) (GCC) ) #1 SMP Wed Jul 7 04:41:17 UTC 2010

- $ cat /proc/meminfo 
  MemTotal:        1017560 kB
  ...
  SwapTotal:       2048752 kB

As you can see, your command works on my laptop, a Thinkpad R61i with
1GB RAM and 2GB swap space running Fedora 12 and Sun Java SE 6.


Martin





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux