Help hang and starting error message with R2018b
3 ビュー (過去 30 日間)
古いコメントを表示
We recently updated from R2018a to R2018b and since that time have been seeing the following error message on initial startup
Exception in thread "IPC Process Thread": java.lang.UnsatisfiedLinkError: com.teamdev.jxbrowser.chromium.internal.SharedMemoryLibrary.getCurrentProcessId()J at com.teamdev.jxbrowser.chromium.internal.SharedMemoryLibrary.getCurrentProcessId(Native Method) at com.teamdev.jxbrowser.chromium.internal.ipc.ChromiumProcess.start(Unknown Source) at com.teamdev.jxbrowser.chromium.internal.ipc.d.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
We have also had the Help documentation hang problem.
Setting the html renderer to 'basic' seems to work but the functionality isn't great so we'd like to actually find and solve the underlying issue.
We have looked at the permissions for the temp folder and they seem OK. Running some of our standard scripts that query a networked SQL database and produce analysis plots seem to work fine.
Running 64-bit R2018b on Windows 7 SP1 64-bit
0 件のコメント
回答 (1 件)
Yumeng
2019 年 5 月 29 日
編集済み: Yumeng
2019 年 5 月 29 日
My friend had exactly the same error (UnsatisfiedLinkError - getCurrentProcessId). It's an R2019a installed on Ubuntu 18.04.
The UnsatisfiedLinkError says Matlab doesn't have permission to call a Java library. It is JxBrowser that comes with the Matlab install. I had to install Matlab as root, but later run it with a regular user account. So the Java library is not accessible.
I verified this by looking at the permission setup in the Java library folders. First, I need to get the library path by running the following command in Matlab
java.lang.System.getProperty('java.library.path')
which gives me two folders; when I check the ownership of these folders and subfolders and files, they all belong to root.
The fix is easy - just change the ownership to the user account.
In a Windows machine it should be a similar task; you change the ownership by looking into the folder property.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!