Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
MATLAB_JAVA and jre7

Subject: MATLAB_JAVA and jre7

From: spasmous

Date: 19 Sep, 2012 19:46:46

Message: 1 of 2

I'm on R2011b Windows XP and wanted to switch to a newer version of java (due to a lot of crashes with the default java). I have installed the latest java 7 on my computer and removed all other versions.

I've added MATLAB_JAVA as an Environment Variable (System Variable) to be C:\Program Files\Java\jre7 as per instructions but MATLAB can't find java when it boots. I get the message "Warning: Unable to load Java Runtime Environment: The specified module could not be found."

Subject: MATLAB_JAVA and jre7

From: spasmous

Date: 19 Sep, 2012 19:51:26

Message: 2 of 2

If add quotation marks around the path I get another error stating it can't find "C:\Program Files\Java\jre7"\bin\client\jvm.dll - however this file does exist (excluding the "" marks).

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us