Why do I get "Exception in thread "main" java.lang.NoClassDefFoundError: run" when installing PolySpace on Linux?
조회 수: 3 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2013년 11월 12일
답변: MathWorks Support Team
2014년 3월 14일
When I want to install PolySpace on Linux, I get the message:
ERROR: "Exception in thread "main" java.lang.NoClassDefFoundError: run"
채택된 답변
MathWorks Support Team
2013년 11월 12일
This problem occurs when the installer can not execute the file Data/setup.jar of the CD (or the copy of the CD).
There are mainly two reasons :
1.The file doesn't have the proper permissions set
2.The path to the file/folder path is incorrect.
For point 1, check that the files on the CD or in the folder are correct. In the case of a folder, you can use the command:
chmod -R a+x <path to folder>
to set the execution rights on all the files and folders.
For point 2, ensure that the folder names are correct. For example, the folder 'Data' should not be named 'data', as files and folders are case sensitive on Linux.
The installer is looking for a file called Data/setup.jar, not data/setup.jar.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!