From db1c6faf09bf2944aa32700ec620f1022dc1eaee Mon Sep 17 00:00:00 2001 From: Gregory Mitchell <54124162+gmitch215@users.noreply.github.com> Date: Tue, 18 Jun 2024 22:11:58 -0500 Subject: [PATCH] Fix Runtime Unrecognizable --- src/distributions/distribution-factory.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/distributions/distribution-factory.ts b/src/distributions/distribution-factory.ts index 94c8b72..5b4a218 100644 --- a/src/distributions/distribution-factory.ts +++ b/src/distributions/distribution-factory.ts @@ -10,6 +10,7 @@ import {SemeruDistribution} from './semeru/installer'; import {CorrettoDistribution} from './corretto/installer'; import {OracleDistribution} from './oracle/installer'; import {DragonwellDistribution} from './dragonwell/installer'; +import {JetBrainsDistribution} from "./jetbrains/installer"; enum JavaDistribution { Adopt = 'adopt', @@ -65,6 +66,8 @@ export function getJavaDistribution( return new OracleDistribution(installerOptions); case JavaDistribution.Dragonwell: return new DragonwellDistribution(installerOptions); + case JavaDistribution.JetBrains: + return new JetBrainsDistribution(installerOptions); default: return null; }