asciidoctor / asciidoctor-intellij-plugin

AsciiDoc plugin for products on the IntelliJ platform (IDEA, RubyMine, etc)
https://intellij-asciidoc-plugin.ahus1.de/
Apache License 2.0
355 stars 145 forks source link

Describe how to change to JetBrains 64bit JDK with JCEF support, to enable JCEF preview. #1161

Open themr0c opened 2 years ago

themr0c commented 2 years ago

Description

I am using Fedora 36.

I installed PyCharm Community from https://copr.fedorainfracloud.org/coprs/phracek/PyCharm/, and JavaFX Preview as well as JCEF Preview were available out of the box.

I installed IntelliJ IDEA Community from https://copr.fedorainfracloud.org/coprs/lkiesow/intellij-idea-community/, and received notifications about JavaFX Preview and JCEF Preview.

I use these COPR distributions to let the regular system package manager handle the updates. I don't wan't to install software that don't receive update at all, or that multiply update channels.

As recommended in https://intellij-asciidoc-plugin.ahus1.de/docs/users-guide/features/preview/javafx-preview.html, I installed the required plugin https://plugins.jetbrains.com/plugin/14250-javafx-runtime-for-plugins, and got JavaFX Preview working. I believe that it would be easier for users to install automatically the plugin as a dependency.

Reading https://intellij-asciidoc-plugin.ahus1.de/docs/users-guide/features/preview/jcef-preview.html, I did set the registry key ide.browser.jcef.contextMenu.devTools.enabled to true, but it was not sufficient. I don't understand how to "change to JetBrains 64bit JDK with JCEF support". Can you explain how to install this particular JDK?

Is this issue related to the specific COPR build that I am using? How can I install the JetBrains 64bit JDK with JCEF support?

ahus1 commented 2 years ago

I had a look at the IntelliJ package you linked above and created issue https://github.com/lkiesow/intellij-idea-community-rpm/issues/4 that explains what is the cause for this as I see it and how it can be fixed.

Until that has been fixed, I recommend to use one of the following:

themr0c commented 2 years ago

Thank you so much! I will switch temporarily to the JetBrains toolbox.