Linux Matlab 2022b "Error Starting Desktop"

Whenever I start Matlab 2022b with a new named license, I always have "Error Starting Desktop" error.
When I added -nodesktop optional to matlab, it was fine. However I would like to see desktop.
I have this issue with 2022b and a named license in linux. However it is fine with 2019b and a floating license on the same linux.

3 个评论

Exception is "java.lang.NullpointException" as in attachment of the original post.
Have you solved this issue? I just bumped into the same thing with R2022b
No, I didn't. Since Matlab works fine with my Mac, I didn't put much time on this issue.

请先登录,再进行评论。

回答(1 个)

Prateek
Prateek 2023-1-4
编辑:Prateek 2023-1-4
Hello George,
I believe one of the solutions provided on the page should resolve the issue.
Hope this helps.
Regards,
Prateek

2 个评论

It seems the issue is associated with Java library. However I cannot figure out what is the exactly issue and solution.
matlab -nodesktop
matlab -nojvm
matlab -nodisplay
all are fine.
Linux version:
Virtualization: kvm
Operating System: Debian GNU/Linux rodete
Kernel: Linux 5.19.11-1rodete1-amd64
Architecture: x86-64
Java version:
openjdk version "11.0.13" 2022-12-02
OpenJDK Runtime Environment (build 11.0.13+8-google-release-492526841)
OpenJDK 64-Bit Server VM (build 11.0.13+8-google-release-492526841, mixed mode, sharing)
Hi George,
I believe you would have found a solution by now. If that is not the case, I suggest you approach the MathWorks Technical Support for this. Here's the link for it - https://in.mathworks.com/support/contact_us.html?requestedDomain=
Regards,
Prateek

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by