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

Hi all,

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

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:

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:

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

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

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

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

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.