JetBrains/intellij-community · error · ExecutionException
{0}. Check your JDK installation.
Error message
{0}. Check your JDK installation. What it means
Error "{0}. Check your JDK installation." thrown in JetBrains/intellij-community.
Source
Thrown at java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java:915
public static @NotNull Connector findConnector(boolean useSockets, boolean listen) throws ExecutionException {
String connectorName = (Registry.is("debugger.jb.jdi") ? "com.jetbrains.jdi." : "com.sun.jdi.") +
(useSockets ? "Socket" : "SharedMemory") +
(listen ? "Listen" : "Attach");
return findConnector(connectorName);
}
public static @NotNull Connector findConnector(String connectorName) throws ExecutionException {
VirtualMachineManager virtualMachineManager;
if (connectorName.startsWith("com.jetbrains")) {
virtualMachineManager = VirtualMachineManagerImpl.virtualMachineManager();
}
else {
try {
virtualMachineManager = Bootstrap.virtualMachineManager();
}
catch (Error e) {
throw new ExecutionException(JavaDebuggerBundle.message("debugger.jdi.bootstrap.error",
e.getClass().getName() + " : " + e.getLocalizedMessage()));
}
}
return StreamEx.of(virtualMachineManager.allConnectors())
.findFirst(c -> connectorName.equals(c.name()))
.orElseThrow(() -> new CantRunException(JavaDebuggerBundle.message("error.debug.connector.not.found", connectorName)));
}
protected void checkVirtualMachineVersion(VirtualMachine vm) {
final String versionString = vm.version();
if ("1.4.0".equals(versionString)) {
DebuggerInvocationUtil.invokeLaterAnyModality(project, () -> Messages.showMessageDialog(
project,
JavaDebuggerBundle.message("warning.jdk140.unstable"), JavaDebuggerBundle.message("title.jdk140.unstable"), Messages.getWarningIcon()
));
}
if (getSession().getAlternativeJre() == null) {
Sdk runjre = getSession().getRunJre();View on GitHub (pinned to be881553f2)
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.
Example fix
Re-add the JDK home in Project Structure | SDKs, then retry the debug session.
When it happens
Trigger: The debugger fails to initialize because the target or helper JDK installation is broken or incomplete.
Common situations: A partially deleted JDK, a JRE used where a JDK is required, or a JDK home path that no longer exists.
AI-assisted analysis of JetBrains/intellij-community@be881553f2 (2026-08-14).
Data as JSON: /api/errors/90438951fdfa5d70.
Report an issue: GitHub.