Skip to content

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

Description

@PawelLipski

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions