Unable to access jarfile brainstorm3.jar

Hello,

I’m trying to get brainstorm running with the MCR (2014b) on a Windows XP. I’m having the following problem:

Microsoft Windows XP [Version 5.1.2600]
© Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS\system32>C:\brainstorm3\bin\R2014b\brainstorm3.bat

Matlab R2014b found:
“C:\MATLABCompilerRuntime\v84”

Please wait…

Error: Unable to access jarfile brainstorm3.jar
C:\WINDOWS\system32>

Any help would be greatly appreciated.

Hello,

Why don’t you just double-click on the brainstorm3.bat file? Do you get the same error?
If you are not an administrator of this computer, right-click on brainstorm3.bat > Run as administrator.

If you want to run it from a command line terminal you open yourself (cmd.exe), then cd to the bin folder first:
> cd C:\brainstorm3\bin\R2014b
> brainstorm3.bat

Cheers,
Francois

Ok, so I’m guessing this means that there is an error with the installation:

[I]C:\WINDOWS\system32>cd C:\brainstorm3\bin\R2014b

C:\brainstorm3\bin\R2014b>brainstorm3.bat

Matlab R2014b found:
“C:\MATLABCompilerRuntime\v84”

Please wait…

java.lang.UnsatisfiedLinkError: Failed to find the required library mclmcrrt8_4.
dll on java.library.path.
This library is typically installed along with MATLAB or the MCR. Its absence ma
y indicate an issue with that installation or the current path configuration.
The MCR version that this component is trying to use is: 8.4.

    at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibr

aryDir.get(MCRConfiguration.java:249)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibr
aryDir.<clinit>(MCRConfiguration.java:255)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getProxyL
ibraryDir(MCRConfiguration.java:260)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.g
et(MCRConfiguration.java:71)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.<
clinit>(MCRConfiguration.java:81)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getMCRRoo
t(MCRConfiguration.java:86)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ModuleDir
.<clinit>(MCRConfiguration.java:60)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getModule
Dir(MCRConfiguration.java:65)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.<clinit>(MWMCR.java:
1468)
at bst_javabuilder_2014b.Bst_javabuilder_2014bMCRFactory.newInstance(Bst
_javabuilder_2014bMCRFactory.java:52)
at bst_javabuilder_2014b.Bst_javabuilder_2014bMCRFactory.newInstance(Bst
_javabuilder_2014bMCRFactory.java:63)
at bst_javabuilder_2014b.Run.main(Run.java:117)
C:\brainstorm3\bin\R2014b>[/I]

I should mention that I when I ran the MCR installer, I did it on another computer and had the files moved from that computer to this computer. I did so because the installer would quit unexpectedly on this computer after the files were unzipped.

I should have mentioned: double clicking on the bat file popped the cmd window up and then closed it immediately. That’s why I’m running it from the cmd line. Also, I’m not given a “run as administrator” option when right clicking on the bat file. I am not an admim on this computer.

There are parts of the MCR that are not installed properly. Copying the files installed in the MCR folder will most likely not work.

First make sure you installed the Service Pack 3 for windows XP (google for help).
If it keeps on crashing, contact the Mathworks help desk.

Or you can try the alternative binary distributions:
http://neuroimage.usc.edu/brainstorm/InstallationR2012b
http://neuroimage.usc.edu/brainstorm/InstallationR2013b
http://neuroimage.usc.edu/brainstorm/InstallationR2014a
http://neuroimage.usc.edu/brainstorm/InstallationR2015a

I was not able to get the the alternative distributions to work, but after reinstalling the MCR properly (with an admin account) I was able to get things working. Many thanks for your patience and prompt responses!