Re: Java Initialization problem with Matlab

Started by Nihal Ahmad August 11, 2003
Hi Phani,
Set MATLAB_JAVA variable to both user variable as well as
system variable(environmental variable in system properties). It should be
set like this...

variable name MATLAB_JAVA
variable value C:\matlabroot\sys\java\jre\win32\jre
where matlabroot is the MATLAB root directory. The value for matlabroot is
different for different version.
Hope you should be able to resolve the problem.

All the best.
Nihal ----- Original Message -----
From: "Phanikrishna" <>
To: <>
Sent: Sunday, August 10, 2003 10:30 AM
Subject: [matlab] Java Initialization problem with Mathlab >
> Can someone help me with this...
> I have a Windows 2000
> Matlab gives an error while intializing with the
> dialog box
> title "Java Intialization Failed" and the error
> message reads "Check
> MATLAB installation, possible JAVA classpath problem".
> The solution provided by does not seem
> to be working
> for me, because as suggested by mathworks @
> i set the MATLAB_JAVA variable (environmental
> variable in system
> properties) to the path of the JVM.
> I tried setting the MATLAB_JAVA variable to the path
> pointing to
> rt.jar under the JVM installation.
> But the problem continues to exist.
> Please suggest a solution !!
> Thanks
> Krish >
> =====
> --------
> Krish Gomatom
> Graduate Research Assistant
> Center for Energy Studies
> Wichita State University
> __________________________________ >
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the author
of this message will receive your answer. You need to do a "reply all" if
you want your answer to be distributed to the entire group.
> _____________________________________
> About this discussion group:
> To Join:
> To Post:
> To Leave:
> Archives:
> More DSP-Related Groups:
> "> >

This mail with any attachments is for the exclusive use
of the intended recipient/s & may contain confidential &
legally privileged information. If you are not the intended
recipient pls notify the sender immediately and delete the
from your system. Any unauthorised use, disclosure,
printing,dissemination,forwarding or copying of this mail
is strictly prohibited and unlawful.
Visit us at :