Fatal Error on Sartup: Cannot locate or initialize class

1 view (last 30 days)
I am trying to run Matlab R2014b on Windows 8. When I startup the application I am getting an error that says "Warning: Could not read file classpath.txt" when I push OK it comes up with another error entitled: "Fatal Error On Startup" The text of the error is "Cannot locate or initialize class com/mathworks/jmi/OpaqueJavaInterface. java.lang.NoClassDefFoundError: com/mathworks/jmi/OpaqueJavaInterface Caused by:java.lang.ClassNotFoundException: com.mathworks.jmi.OpaqueJavaInterface at java.net.URLClassLoader$1.run(Unknown Source) at Java.net.URLClassLoader$1.run(Unknown Source)...and it continues like that. Matlab then fails to run.
Can you help me resolve this issuse? This is the first time I have installed MATLAB on this PC.
  3 Comments
Ben Morrow
Ben Morrow on 29 May 2018
I am having the exact same issue installing Matlab R2016b on windows 7. "Cannot locate or initialize class......" did you find a solution?
Guillaume
Guillaume on 28 Oct 2019
Nabil Mederbel's comment mistakenly posted as an answer moved here:
any finding so far ?

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!