{"record":{"id":"90438951fdfa5d70","repo":"JetBrains/intellij-community","slug":"0-check-your-jdk-installation","errorCode":null,"errorMessage":"{0}. Check your JDK installation.","messagePattern":"(.+?)\\. Check your JDK installation\\.","errorType":"exception","errorClass":"ExecutionException","httpStatus":null,"severity":"error","filePath":"java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java","lineNumber":915,"sourceCode":"\n  public static @NotNull Connector findConnector(boolean useSockets, boolean listen) throws ExecutionException {\n    String connectorName = (Registry.is(\"debugger.jb.jdi\") ? \"com.jetbrains.jdi.\" : \"com.sun.jdi.\") +\n                           (useSockets ? \"Socket\" : \"SharedMemory\") +\n                           (listen ? \"Listen\" : \"Attach\");\n    return findConnector(connectorName);\n  }\n\n  public static @NotNull Connector findConnector(String connectorName) throws ExecutionException {\n    VirtualMachineManager virtualMachineManager;\n    if (connectorName.startsWith(\"com.jetbrains\")) {\n      virtualMachineManager = VirtualMachineManagerImpl.virtualMachineManager();\n    }\n    else {\n      try {\n        virtualMachineManager = Bootstrap.virtualMachineManager();\n      }\n      catch (Error e) {\n        throw new ExecutionException(JavaDebuggerBundle.message(\"debugger.jdi.bootstrap.error\",\n                                                                e.getClass().getName() + \" : \" + e.getLocalizedMessage()));\n      }\n    }\n    return StreamEx.of(virtualMachineManager.allConnectors())\n      .findFirst(c -> connectorName.equals(c.name()))\n      .orElseThrow(() -> new CantRunException(JavaDebuggerBundle.message(\"error.debug.connector.not.found\", connectorName)));\n  }\n\n  protected void checkVirtualMachineVersion(VirtualMachine vm) {\n    final String versionString = vm.version();\n    if (\"1.4.0\".equals(versionString)) {\n      DebuggerInvocationUtil.invokeLaterAnyModality(project, () -> Messages.showMessageDialog(\n        project,\n        JavaDebuggerBundle.message(\"warning.jdk140.unstable\"), JavaDebuggerBundle.message(\"title.jdk140.unstable\"), Messages.getWarningIcon()\n      ));\n    }\n    if (getSession().getAlternativeJre() == null) {\n      Sdk runjre = getSession().getRunJre();","sourceCodeStart":897,"sourceCodeEnd":933,"githubUrl":"https://github.com/JetBrains/intellij-community/blob/be881553f2a76ac8b4ea53950d93f0de78295c19/java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java#L897-L933","documentation":"Error \"{0}. Check your JDK installation.\" thrown in JetBrains/intellij-community.","triggerScenarios":"The debugger fails to initialize because the target or helper JDK installation is broken or incomplete.","commonSituations":"A partially deleted JDK, a JRE used where a JDK is required, or a JDK home path that no longer exists.","solutions":["Verify the JDK used to launch the debuggee is intact; reinstall or re-register it if files are missing.","Point the run configuration to a valid JDK under File | Project Structure | SDKs."],"exampleFix":"Re-add the JDK home in Project Structure | SDKs, then retry the debug session.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"be881553f2a76ac8b4ea53950d93f0de78295c19","analyzedAt":"2026-08-14T14:13:06.425Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}