Fatal Error on Sartup: Cannot locate or initialize class

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 件のコメント

Jeff Blauser
Jeff Blauser 2016 年 3 月 28 日
My question is much like Brett's above. I do not get the classpath.txt error but I do get the java error. I'm running WIN10-64bit if that matters. The Matlab version is R2016A. Did something go wrong with the installation or is this something we can fix after the installation? Thanks.
Ben Morrow
Ben Morrow 2018 年 5 月 29 日
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 2019 年 10 月 28 日
Nabil Mederbel's comment mistakenly posted as an answer moved here:
any finding so far ?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2015 年 1 月 11 日

コメント済み:

2019 年 10 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by