フィルターのクリア

Matlab throws Java errors when opening help or internal browser

11 ビュー (過去 30 日間)
George Blandon
George Blandon 2017 年 11 月 14 日
コメント済み: Chuck37 2020 年 2 月 17 日
Steps to reproduce: (1) Open Matlab (from Applications menu or from command line inside/outside business development environment) (2) Start help or other browser by - clicking on the ?-button - writing text into the search box and hitting return - launching help via "doc" command - launching Matlab browser via "web" command (3) be patient (4) observe java error in Matlab command window (first two lines copied in comments below.
JAVA Errors
Exception in thread "IPC Process Thread" java.lang.UnsatisfiedLinkError: /tmp/jxbrowser-chromium-43.0.2357.52.5.4.2/data/Temp/libjxbrowser-common-bb1e7de8-881a-4116-9d68-bbf84270f365.so: /tmp/jxbrowser-chromium-43.0.2357.52.5.4.2/data/Temp/libjxbrowser-common-bb1e7de8-881a-4116-9d68-bbf84270f365.so: failed to map segment from shared object: Operation not permitted
  3 件のコメント
Erik Lowney
Erik Lowney 2019 年 1 月 29 日
If it helps anyone, this error occurs when /tmp is mounted noexec, as it should be for security reasons.
It's the same reason the installer fails with default arguments: it tries to execute the installer from /tmp after copying it there from the CD.
Chuck37
Chuck37 2020 年 2 月 17 日
I have this problem on Linux, and it does appear to be permissions, even though it's not obvious (since /tmp is open to all). I made a little tmp directory in my home area for matlab to use and this worked. See the linked thread for how to do this.

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

回答 (1 件)

Chris Perkins
Chris Perkins 2017 年 11 月 16 日
Hi George,
Based on the exception, it seems likely this is being caused by you not having write permission for your temp directory.
JxBrowser (which MATLAB uses for internal browser displays, including the Doc) needs permission to write to your temp directory in order to function properly.
Try changing your permissions for your temp directory (/tmp) to include write permission, and then see if you can use the Documentation properly.
  1 件のコメント
Jay Sullivan
Jay Sullivan 2019 年 8 月 9 日
You are asking folks to explicilty violate defined corporate security parameters and policies. That's a problem.

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by