because of the question by Eugene i tried to get studio running on Docker. What i did was something like this where my base image is the official java docker image:
FROM java:8-jdk ADD studio-2.0.6 /usr/local/bin/studio/ ENV STUDIO_OPTS '-Dstudio.connection.remote.enable=true' CMD /usr/local/bin/studio/bin/studio
Running this results in a Caused by: java.lang.ClassNotFoundException: javafx.application.Application. This is due to the fact that the official Java Docker image uses OpenJDK. This image doesn’t include Java FX libraries.
When using Oralce JDK instead with some random image like isuper/java-oracle:jdk_8
What i just wondered about is, that if studio is running in headless mode, why there is even a need for java fx at all?