Jmix Studio Screen Designer not available in Dev Containers

I have troubles getting Jmix Studio to run in a remote development environment with a Linux devcontainer.

Whenever I connect I get the error that Java Chromium Embedded Framework (JCEF) is not supported:
Jmix Studo JCEF error

As a base container I am using: eclipse-temurin:17.0.8.1_1-jdk
Further, I installed via apt-get: nodejs python3 git libcairo2 libnss3 libatk-bridge2.0-0 libcups2 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libxtst6 libgbm1 libxkbcommon0 libpango-1.0-0 libasound2 libxxf86vm1 libxcursor1

The only help I could find is https://intellij-support.jetbrains.com/hc/en-us/articles/360016421559
Due to the added libraries above I have no missing dependencies anymore when I run the command: ldd /root/.cache/JetBrains/RemoteDev/dist/5b92388135cf0_ideaIU-2023.2.1/jbr/lib/*.so | grep “not found”

Is Jmix Studio supported in Dev Containers? Can you provide an example configuration, how to get it up and running?

Hi

Unfortunately Jmix Studio has never been tested in Dev Containers, so I am afraid we can’t provide you any hint or example for this case.
The Jmix Studio notification above is shown if com.intellij.ui.jcef.JBCefApp#isSupported method call returns false. You can see its implementation here:

Hi Alexander,

Thanks for your answer. A pity that the focus has not been on Dev Containers so far.

I also launched a request directly at the Intellij support and got some information that might be useful for your plugin developers:

Currently, JCEF is not supported for Remote Development.

The plugin writer should either wait for instructions on how to split the plugin (so all code that accesses JCEF lives on the client side of the plugin), or wait for the general availability of JCEF.

Related tickets in YouTrack:
https://youtrack.jetbrains.com/issue/GTW-4830
https://youtrack.jetbrains.com/issue/IDEA-241709
https://youtrack.jetbrains.com/issue/JBR-4430

Therefore, I hope that you can use this info to the benefit of the community and make the plugin also compatible with Dev Containers in the near future. It would be a great feature and in my opinion is the way to ensure harmonized development environments within a team.

Best regards, David

1 Like