# Could not find installation home path when running test using IJ 2025.2

**URL:** <https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662>\
**Category:** IntelliJ Platform\
**Created:** [September 2, 2025, 12:38pm UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662 "2025-09-02T12:38:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.sciachero](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/m.sciachero/32/245_2.png) [@m.sciachero](https://platform.jetbrains.com/u/m.sciachero)\
**Post date:** [September 2, 2025, 12:38pm UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/1 "2025-09-02T12:38:35Z")

</div>

Hi all,

I’ve trouble running Platform test using Intellij 2025.2, the error is the following:

```auto
Could not find installation home path. Please make sure product-info.json is present in the installation directory.
java.lang.RuntimeException: Could not find installation home path. Please make sure product-info.json is present in the installation directory.
	at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:113)
	at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:82)
	at com.intellij.testFramework.fixtures.IdeaTestExecutionPolicy.getHomePathWithPolicy(IdeaTestExecutionPolicy.java:105)
	at com.intellij.testFramework.fixtures.BasePlatformTestCase.getTestDataPath(BasePlatformTestCase.java:99)
	at com.intellij.testFramework.fixtures.BasePlatformTestCase.setUp(BasePlatformTestCase.java:43)
	at com.gitlab.msciachero.ActionsTest.before(ActionTest.kt:20)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at com.intellij.ide.starter.junit5.CurrentTestMethodArgumentsProvider.intercept(CurrentTestMethodArgumentsProvider.kt:53)

```

Same tests works well with 2024.3

In addition I’ve configured:

```auto
plugins {
    kotlin("jvm") version "2.2.0"
    kotlin("plugin.serialization") version "2.2.0"
    id("org.jetbrains.intellij.platform") version "2.7.2"

```

and this is my configuration of intellijPlatform:

```auto
intellijPlatform {
        intellijIdeaCommunity("2025.2") {
            useInstaller = false
        }
        jetbrainsRuntime()
        bundledPlugins(
            listOf(
                "Git4Idea",
                "com.intellij.platform.images",
                "org.intellij.plugins.markdown",
                "org.jetbrains.plugins.yaml"
            )
        )
        bundledModules(listOf("intellij.platform.vcs.dvcs.impl", "intellij.platform.tasks"))
        pluginVerifier()
        zipSigner()
        testFramework(TestFrameworkType.JUnit5)
        testFramework(TestFrameworkType.Platform)
        testFramework(TestFrameworkType.Plugin.Java)
        testFramework(TestFrameworkType.Starter)

    }

```

Did I miss something?

Mirko

---

<div class="post-metadata">

**Author:** ![m.sciachero](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/m.sciachero/32/245_2.png) [@m.sciachero](https://platform.jetbrains.com/u/m.sciachero)\
**Post date:** [September 6, 2025, 2:13am UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/2 "2025-09-06T02:13:48Z")

</div>

Hi, @yuriy.artamonov or @jakub.chrzanowski any hint? I think there is some change in configuration between 2024.3 and 2025.2 but I wasn’t able to find any information.

Thanks a lot,

Mirko

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [September 6, 2025, 6:45am UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/3 "2025-09-06T06:45:59Z")

</div>

You could help people help you by making a small reproducer project on GitHub

---

<div class="post-metadata">

**Author:** ![m.sciachero](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/m.sciachero/32/245_2.png) [@m.sciachero](https://platform.jetbrains.com/u/m.sciachero)\
**Post date:** [September 7, 2025, 2:20am UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/4 "2025-09-07T02:20:15Z")

</div>

@yuriy.artamonov created a minimum project with the same error:

> **[GitHub - sciack/intellij-plugin-error: Test project to show error during test with IJ...](https://github.com/sciack/intellij-plugin-error)**
>
> Test project to show error during test with IJ 2025.2

Just for info, I’m developing on Linux  
```Linux mirko-thinkbook 6.16.4-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 28 19:47:10 UTC 2025 x86_64 GNU/Linux`  
I’m just thinking to do a test on windows, maybe is something just related to linux.

---

<div class="post-metadata">

**Author:** ![m.sciachero](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/m.sciachero/32/245_2.png) [@m.sciachero](https://platform.jetbrains.com/u/m.sciachero)\
**Post date:** [September 20, 2025, 4:55am UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/5 "2025-09-20T04:55:23Z")

</div>

Hello, any suggestion about this issue?

---

<div class="post-metadata">

**Author:** ![m.sciachero](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/m.sciachero/32/245_2.png) [@m.sciachero](https://platform.jetbrains.com/u/m.sciachero)\
**Post date:** [November 21, 2025, 1:05pm UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/7 "2025-11-21T13:05:58Z")

</div>

Hi all,

any hints for this problem?

Best regards,

Mirko

---

<div class="post-metadata">

**Author:** ![Ning\_Liu](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Ning\_Liu](https://platform.jetbrains.com/u/Ning_Liu)\
**Post date:** [June 16, 2026, 8:51am UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/8 "2026-06-16T08:51:51Z")

</div>

Hey @michael.262 , have you found the solution? I met this error as well when configured in CI pipelines.

---

<div class="post-metadata">

**Author:** ![m.sciachero](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/m.sciachero/32/245_2.png) [@m.sciachero](https://platform.jetbrains.com/u/m.sciachero)\
**Post date:** [June 16, 2026, 12:40pm UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/9 "2026-06-16T12:40:07Z")

</div>

No, I gave up on some tests (sic) but was the only options. Also moving the plugin in a split mode is even more difficult now to test.

---

<div class="post-metadata">

**Author:** ![jakub.chrzanowski](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/jakub.chrzanowski/32/38_2.png) [@jakub.chrzanowski](https://platform.jetbrains.com/u/jakub.chrzanowski)\
**Post date:** [June 16, 2026, 1:30pm UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/10 "2026-06-16T13:30:54Z")

</div>

Hey, folks! I took a look at this and the issue is caused by the `PathManager` which is used for resolving IDE location. Normally, it comes from the IntelliJ Platform you use for building the plugin, but – in the repro project — it is served from `ide-starter-squashed` artifact instead:

```auto
/Users/hsz/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.tools/ide-starter-squashed/252.23892.409/2ceb94fe23faf9ff8a157ff87c3d0ea01873ab75/ide-starter-squashed-252.23892.409.jar

```

It is added to the classpath by the `TestFrameworkType.Starter`, and gets loaded yet before the IntelliJ Platform classes.  
In order to fix that, `Starter` should be demoted in the classpath, but I’m not really sure yet how to handle it in a good manner.

---

<div class="post-metadata">

**Author:** ![jakub.chrzanowski](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/jakub.chrzanowski/32/38_2.png) [@jakub.chrzanowski](https://platform.jetbrains.com/u/jakub.chrzanowski)\
**Post date:** [June 16, 2026, 7:58pm UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/11 "2026-06-16T19:58:46Z")

</div>

As a workaround, you can:

```kotlin
tasks {
    test {
        useJUnitPlatform()
        systemProperty("java.awt.headless", true)

        jvmArgumentProviders += CommandLineArgumentProvider {
            listOf("-Didea.home.path=${intellijPlatform.platformPath}")
        }
    }
}

```

I’ll make that a part of the IntelliJ Platform Gradle Plugin, considering the test-specific IntelliJ Platform as well. Above code refers to the main IntelliJ Platform only.

---

<div class="post-metadata">

**Author:** ![Ning\_Liu](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Ning\_Liu](https://platform.jetbrains.com/u/Ning_Liu)\
**Post date:** [June 17, 2026, 6:23am UTC](https://platform.jetbrains.com/t/could-not-find-installation-home-path-when-running-test-using-ij-2025-2/2662/12 "2026-06-17T06:23:57Z")

</div>

Thanks @jakub.chrzanowski for the investigation and followup! Yes configuring `idea.home.path` works 😀
