You are not logged in.
Pages: 1
Topic closed
I'm getting the following warning whenever I load IntelliJ IDEA (shown as a pop up bubble at the bottom right):
Please consider switching to the bundled Java runtime that is better suited for the IDE (your current Java runtime is 11.0.8+10 by Oracle Corporation).
I believe it may be caused by a recent update since I never saw this message before:
[2020-12-15T01:55:26-0600] [ALPM] upgraded intellij-idea-community-edition (2:2020.2.3-1 -> 2:2020.3-1)
I Googled the message and it looks like IntelliJ ships with its own JVM that they recommend you use. Does the Arch package just not include this JVM? Just looking at the files with pacman -Ql intellij-idea-community-edition, I'm not seeing it and the package does depend on java-environment=11 making me think it's meant to use the system's main JVM.
If that's the case, I'm happy enough to hide the warning and use system JVM but I thought I would check to see what other users are doing. Also curious what changed in the update to make me just notice this now since the IntelliJ site says they've been bundling their own JVM since the 2016 version.
Last edited by weirddan455 (2020-12-18 16:32:11)
Offline
In general archlinux prefers to use system installed libraries instead of bundled ones.
(Very often the bundled ones fail to run on archlinux)
from https://github.com/archlinux/svntogit-c … k/PKGBUILD
build() {
cd intellij-community
unset _JAVA_OPTIONS
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
export PATH="${JAVA_HOME}/bin:${PATH}"
export JDK_16_x64=/usr/lib/jvm/java-8-openjdk
export JDK_18_x64=/usr/lib/jvm/java-8-openjdk
ant build
tar -xf out/idea-ce/artifacts/ideaIC-${_build}-no-jbr.tar.gz -C "${srcdir}"
}
That indicates we deliberately don't use their bundled version.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I think the maintainer (in my opinion) made the right decision to not package the upstream edition that includes their roll-their-own JDK called 'JBR': 1) it doesn't make any sense to have each Java package bundle 'their' JVM and then have a plethora of JDK flavors installed that are single use only. 2) The package is already over 1 GB installed size, adding a JDK would increase that even more and 3) the JBR isn't a certified build of OpenJDK - see the 'use at your own risk' warning that JetBrains themselves post here.
Having said all that, with a package that is already 1GB in size, have you checked to see if the JBR may actually be installed and you could point your local configs to use it instead?
Edit: Lone_Wolf beat me to it.
Last edited by twelveeighty (2020-12-19 15:02:24)
Online
I don't presume to know what's the right choice, however I found a use-case in-which having jrb would be useful. I recently installed intellij community and the latex extensions texify-idea and intellij-pdf-viewer it uses. it appears intellij-pdf-viewer is dependent on jrb and refuses to work without it. whenever i try to use it it returns an error: " JCEF is not available!
Seems like your current runtime does not provide JCEF classes. ... You are using default JBR bundled with IDE..."
I tried to switch to jbr, without success so far but I believe its possible
Offline
You may want to try https://aur.archlinux.org/packages/inte … te-edition .
In case you don't have experience with building/using aur pacakges, see https://wiki.archlinux.org/title/Arch_User_Repository .
Moderator Note
Closing this old thread.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Pages: 1
Topic closed