DSPRelated.com
Forums

Problem with jvm on Matlab

Started by for_next October 12, 2007
When I installed matlab ( on SuSe 10.2 64 bit ) and I try to start the
shell tells me go to /home dir and to read the fail  "java.log.
6338"....And its contend is :
Error occurred during initialization of VM
Could not reserve enough space for code cache
Stack Trace:
  [0] libjvm.so:0x00002aaaab771989(0x7fffebb30820, 0x2aaaab4f28ef,
0x00660960 ", 0x00660960 ")
  [1] libjvm.so:0x00002aaaab5c0955(0x00660960 ", 0x00660960 ",
0x7fffebb309b4, 0x00660960 ")
  [2] libjvm.so:0x00002aaaab4f28ef(0x7fffebb30840, 0x2aaaab58fa4d,
0x7fffebb309a0, 0x2aaaab8206c9)
  [3] libjvm.so:0x00002aaaab4f2909(0x7fffebb309a0, 0x2aaaab8206c9, 1,
0x7fffebb308f0)
  [4] libjvm.so:0x00002aaaab58fa4d(1, 0x7fffebb308f0, 0x7fffebb30960,
4)
  [5] libjvm.so:0x00002aaaab8206c9(0x1bfb42b40, 144, 8, 0x2b4fbfb42b40
"/opt/matlab/sys/java/jre/glnxa64..")
  [6] libjvm.so:JNI_CreateJavaVM~(0x2aaaaaae7195 "/usr/share/icons",
0x2aaaaaae6e83 "default", 1, 0x00631010) + 103 bytes

------------------------------------------------------------------------
        Fatal Java Exception detected at Fri Oct 12 20:12:03 2007
------------------------------------------------------------------------

Configuration:
  MATLAB Version:   7.4.0.287 (R2007a)
  MATLAB License:   161051
  Operating System: Linux 2.6.18.2-34-default #1 SMP Mon Nov 27
11:46:27 UTC 2006 x86_64
  GNU C Library:    2.5 stable
  Window System:    The X.Org Foundation (70199902), display :0.0
  Current Visual:   0x21 (class 4, depth 24)
  Virtual Machine:  Java is not enabled
  Default Charset:  UTF-8

Java is not enabled

But the then I start MatLab in bash with no java ( :~>matlab_dir/
matlab -nojvm ) it works !!!! And I understand that there is a problem
with jvm but a had java_6u2 installed and worked well......and a cant
managed with this problem....may be a had to use "javaX" commands to
increase the memory used by jvm or something else..
>>>>>>>>>>PLEASE I REALLY NEED MATLAB >>>>>> If someone can halp me let do it :-) Thank to all read this !!!