Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use JBR instead of the current JDK for running IntelliJ #416

Open
PawelLipski opened this issue Feb 24, 2024 · 1 comment
Open

Use JBR instead of the current JDK for running IntelliJ #416

PawelLipski opened this issue Feb 24, 2024 · 1 comment

Comments

@PawelLipski
Copy link
Contributor

AFAICS the IntelliJ is executed just under the current JDK:

$ ps -f 78132
  UID   PID  PPID   C STIME   TTY           TIME CMD
  501 78132     1   0  9:48pm ??         0:37.97 /Users/pawel_lipski/.sdkman/candidates/java/17.0.6-tem/bin/java -classpath /private/var/folders/wm/_61wp3jn3s7f8jh9x119ssp40000gn/T/ide-probe/instances/intellij-instance-241.13688.18--LYi5Na5HTVe67o3dg-QswA/Contents/lib/platform-loader.jar:...

as compared to e.g. runIde task from gradle-intellij-plugin, which uses JBR:

$ ps -f 78507
  UID   PID  PPID   C STIME   TTY           TIME CMD
  501 78507 77257   0  9:54pm ??         0:21.11 /Users/pawel_lipski/.gradle/caches/modules-2/files-2.1/com.jetbrains/jbre/jbr_jcef-17.0.10-osx-x64-b1207.1/extracted/jbr_jcef-17.0.10-osx-x64-b1207.1/Contents/Home/bin/java ...
@lukaszwawrzyk
Copy link
Contributor

We do download JBR separately and put it where IJ expects it, so that the default launcher picks it up. For dmg files I think it is in the image itself and doesn't need to be downloaded. Anyway, it used to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants