Live Editor won't start MATLAB R2018a on ArchLinux

I am trying to use Live Editor in MATLAB R2018a on ArchLinux. Attempts to start Live Editor ends with dialogue box showing
"The Live Editor is unable to run in the current system configuration."
Unlike a previous question, I do have libXss and libgconf installed. (This is a fresh MATLAB install and all the required symlinks seemed present.)
Following the Arch wiki I tried executing
>> com.mathworks.mde.liveeditor.widget.rtc.CachedLightweightBrowserFactory.createLightweightBrowser()
on the MATLAB command line, the output is as follows and is rather opaque to me.
Java exception occurred:
com.mathworks.html.BrowserCreationException: com.mathworks.html.BrowserCreationException:
com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: IPC process exited. Exit code: 127
at
com.mathworks.mlwidgets.html.LightweightBrowserBuilder.buildBrowser(LightweightBrowserBuilder.java:87)
at
com.mathworks.mlwidgets.html.LightweightBrowserBuilder.buildDefaultBrowser(LightweightBrowserBuilder.java:52)
at
com.mathworks.mlwidgets.html.LightweightBrowserFactory.createLightweightBrowser(LightweightBrowserFactory.java:36)
at
com.mathworks.mde.liveeditor.widget.rtc.CachedLightweightBrowserFactory.createLightweightBrowser(CachedLightweightBrowserFactory.java:84)
Caused by: com.mathworks.html.BrowserCreationException:
com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: IPC process exited. Exit
code: 127
at
com.mathworks.html.jxbrowser.chromium.LightweightChromiumBrowser.<init>(LightweightChromiumBrowser.java:39)
at
com.mathworks.mlwidgets.html.LightweightBrowserBuilder.buildBrowser(LightweightBrowserBuilder.java:78)
... 3 more
Caused by: com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: IPC process exited. Exit
code: 127
at com.teamdev.jxbrowser.chromium.internal.ipc.d.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
Any suggestions?

 Accepted Answer

For what it is worth, LiveEditor works on R2019b.
I never got around to getting it to work with R2018a, but I guess that is moot now.

More Answers (1)

Try some of the debugging steps listed here:

4 Comments

You might also consider some of the steps from this MATLAB Answers post.
The MATLAB Answers post is the question I linked to in my question above, which didn't help.
I will try however the instructions on the ArchWiki; I don't think I have seen them before, so will give it a try next week when I have some time.
If it doesn't, reach out to MathWorks customer support. They provide free install support to anyone with a valid license.
The info on ArchWiki didn't help. I am going to try for a reach and see if things are better with 2019b.

Sign in to comment.

Categories

Products

Release

R2018a

Community Treasure Hunt

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

Start Hunting!