Hi,
When I run java from any user account it fails with the following:
However running it from root works fine:Code:curtis@server2 [/]# java -version Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine.
I have tried multiple versions of Java JRE and JDK 1.5 (1.5.0 and all updates)Code:root@server2 [/]# java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
I have not tested 1.4 though, as the application I am trying to run from a user account requires 1.5
I have searched around but have not found a solution to this, I did have a feeling it was due to ulimit... in /etc/profile and /etc/bashrc but I am not sure.
It works perfect on by Debian Sarge box though, in root and normal users.
But I cannot run the application on that one.
I did try both the .bin and .bin.rpm files by the way.
I am running CentOS 3.6, 2.4.21-32.0.1.ELsmp
JAVA_HOME is set and I have also tried running it from the full path, to no avail.
Any help would be appricated a lot, thank you![]()
P.S I was not sure whether to post in here or Addons, but I thought it was more suited here... mods feel free to move if you want.



LinkBack URL
About LinkBacks


Reply With Quote





