CANNOT START MATLAB: Could not read file classpath.txt ERROR

I cannot start Matlab R2016a after first installation.
Error is first:
Warning: could not read file classpath.txt
Second error is:
Fatal Error On Startup
Cannot locate or initialize cladd com/mathworks/jmi/Opaquejavainterface.
java.lang.noclassdeffounderror:
com/mathworks/jmi/opaquejavainterface
Causedby: java.lang.classnotfoundexception:
com.mathworks.jmi.opaquejavainterface
[tab] at java.net.URLclassloader$1.run(unknown source)
[tab] at java.net.URLclassloader$1.run(unknown source)
[tab] at java.security.accesscontroller.doprivaleged(nativemethod)
[tab] at java.net.urlclasslaoder.findclass(unkonwnsource)
[tab] at java.lang.classlaoder.loadclass(unkonwnsource)
[tab] at sun.misc.launcher$appclassloader.loadclass(unknown source)
[tab] at java.lang.lang.classlaoder.loadclass(unknow course)

1 件のコメント

Jan
Jan 2018 年 1 月 10 日
編集済み: Jan 2018 年 1 月 10 日
@CMS: If you do not get a useful answer, this usually means, that the question is not clear enough. Of course re-installing Matlab would be the first idea I get. But I noticed this thread after Shivam's answer, more than 1 year after it was asked, therefore I hesitated to give this trivial suggestion.
If you found a solution, please post it and mark your answer as accepted. This helps others, when they have the same problem. Deleting the question is less useful and it does not match the nature of a public forum. Therefore the question was reverted.

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

回答 (2 件)

Shivam Magarde
Shivam Magarde 2017 年 9 月 17 日

0 投票

Warning: could not read file classpath.txt ......

5 件のコメント

Jan
Jan 2017 年 9 月 17 日
Is this an answer or a question?
Tobias Hoffmann
Tobias Hoffmann 2018 年 1 月 10 日
編集済み: Tobias Hoffmann 2018 年 1 月 10 日
sorry - a user has a problem. Please answer kind if you have a solution. Its quit obvious a question how t solve the Problem. You might try to chew his description as an answer be silent and don't waste bandwidth.
Jan
Jan 2018 年 1 月 10 日
編集済み: Jan 2018 年 1 月 10 日
@Tobias: Is this a comment to Shivam or to me?
Shivam has repeated a sentence from the question and appended some dots. Although this is not useful, I did not delete it but decided to ask, if it has a meaning. Maybe Shivam wants to ask a further question, but this is the section for answers and at least any details would be required.
You are not in the position to tell a forum user to be silent and your comment does not save bandwidth also.
CMS
CMS 2018 年 1 月 10 日
Thank you. Please flag Shivam for being unhelpful. A solution was found by the way- I uninstalled MatLab.
Jan
Jan 2018 年 1 月 10 日
@CMS: You could set a flag by your own. But Shivam's "answer" is vague only, but neither rude nor spam. It was the only activity of this person in the forum, therefore I assume a flag would not have any effect.

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

Fadi Alsuhimat
Fadi Alsuhimat 2020 年 6 月 6 日

0 投票

Just deleted and reinstal it, and if you have another copy of matlab (whether oldest or newest) instal in your PC try to instal the new copy in different place.
if you find it helpfull , please make it as a correct answer

カテゴリ

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

製品

タグ

質問済み:

CMS
2016 年 8 月 18 日

回答済み:

2020 年 6 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by