Closed DWolf-19 closed 7 months ago
There are a couple of issues in this repository about this subject. Take a look at them, but usually this doesn't work. You would need to install the SDKs in your home directory (using SDKMAN
, mise
, etc.) or use the built-in extensions.
Ok, thanks. I decided to install JDKs from intelliJ to ~/.jdks
in parallel with the system installation.
I'm trying to use system installation of the Temurin JDK for IntelliJ.
Everything seems to be working well, I set
/run/host
prefix in env variable and tell Gradle in my~/.gradle/gradle.properties
to find JDK in this variable.But
/run/host/usr/lib/jvm/temurin-21-jdk-amd64/lib/security
is empty in the sandbox. When, for instance, I pressing button for some.class
file from lib to download sources, I'm getting the following error:P.S. I use
/run/host
instead/var/run/host
because after reloading the Gradle project automatically creates new JDK 8 with/run/host
prefix (I use both 8 and 21 in my project, 8 for compilation only and 21 for everything else). Are there any differences with/var/run
and/run
? Kind of like/var/run
is a symlink for/run
(or not?).