gradle tab does not show

已回答

Hi, I just updated intelliJ and now my gradle tab does not show anymore…It is just empty…

 

0

I tried
* deleting all other jdks (only leaving jdk25). still Intellij refers to 21!
* remove and new Install of IntelliJ (3 times, 3 different pathes)
* delete all local caches (.idea, .gradle, pp)
* “Repair” from within IntelliJ
* Deleting all local source and re-downloading the former working source from github
* unsub from the professionell trial from within IntelliJ

Nothing worked and nothing brings the gradle tab back
I can not find the former version of IntelliJ (when there was NOT the combined version)

0

Hello Impetus / Indu 

Could you please verify your Gradle plugins are up to date:

Then try opening the Gradle tab from Search Everywhere? 

  1. Double-tap Shift
  2. Select Actions
  3. Write Gradle in the search bar and hit enter 
  4. Click on Gradle

If the tab is not open, please share the current screenshots of Settings | Build, Execution, Deployment | Build Tools | Gradle, Settings | Advanced Settings | Build Tools.Gradle, File | Project Structure | Project, File | Project Structure | Modules, File | Project Structure | Libraries, and File | Project Structure | SDKs.

Also, right after calling the Gradle tab, collect the logs by going to Help | Collect Logs and Diagnostic Data, then attach the zip file here or via our secure upload site https://uploads.jetbrains.com/, and share the uploadID for further review.

0

You are my light in the dark!
If I messed some up, please let me know and I deliver the missing

 

0

this is the zip right after selecting the gradle tab on the right

upload id → 2026_01_26_knmr9f5SKYxAx4PCbQz4MT 

0

Hi Impetus / Indu 

Thanks for the screenshots and log. I reviewed them and found that the root cause is most likely the IDE trying to use the JAVA_HOME environment variable as the Gradle JVM, but it could not properly validate or resolve it as a valid JDK for Gradle operations. The error pointing to it is below:

2026-01-26 21:44:10,812 [  15705]   WARN - #o.j.p.g.s.e.LocalGradleExecutionAware - Invalid Gradle JVM (#JAVA_HOME) home path: Resolved(name=JAVA_HOME, versionString=null, homePath=C:\Program Files\Java\jdk-21)
2026-01-26 21:44:11,012 [  15905]   INFO - #c.i.p.u.i.s.e.DurableEnumeratorFactory - [enumerator.mmapped]: .valueHashToId (in memory) was filled (43 records)
2026-01-26 21:44:11,022 [  15915]   INFO - #c.i.d.u.SqlDialects - SQL dialects initialized in 26 ms
2026-01-26 21:44:11,024 [  15917]   INFO - #o.j.p.g.GradleManager - Instructing gradle to use java from C:\Program Files\Java\jdk-21
2026-01-26 21:44:11,031 [  15924]   WARN - #c.i.o.e.s.i.AbstractExternalSystemTask - RESOLVE_PROJECT:0: Task execution failed
com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkException: Invalid Gradle JDK configuration found. <a href='#open_external_system_settings'>Open Gradle Settings</a> 

	at org.jetbrains.plugins.gradle.service.execution.LocalGradleExecutionAware.jdkConfigurationException(LocalGradleExecutionAware.kt:197)
	...

Also, there is a mismatch between your JDK defined in the system and the one used in your project, as seen in the screenshot. You have configured JDK 25, but the system's JAVA_HOME points to 21; also, this simple mismatch could be the cause of the problem. Please try removing JAVA_HOME and let me know if that resolves the issue.

0

removed JAVA_HOME

reboot

still gradle tab is empty

which makes sense because when I was updating to new version, 
JAVA_HOME was pointing correctly to JDK21 (which was still installed and needed for older projects)
in community edition showed java version to use on gradle tab (if i remember right) and I could switch between 21 and 25

new zip from just now (no JAVA_HOME)  → 2026_01_27_jqXc9duuMsSqFPmR9QNDwg

I think ItelleiJ should always show the tab… like the community version did…

 

0

old view…

if only I could access “Gradle JVM”
 

0

* re-installing IntelliJ does not help
* deleting “.idea” does not help

Hmm, what am I doing wrong? It seems to work for others?
I need to go for a walk to get my head clean. Maybe I have another idea what to change
Does the old community version really have issues with java 25 or is that marketing to push the new IntelliJ?

I would like to ask the UI gradle developer for ONE reason NOT to show the gradle config window!
Most kind of answer I got in 20 year of Java IT PM: “The customer is doing it wrong. On my PC it works!”

yeah, maybe I AM doing it wrong but how the <piep> do I crawl out of my self set trap? :D
Dear Monica, I hope you find something! thanks and cheers, thomas

0

Hi Impetus / Indu 

I'm sorry that the current suggestions haven't worked for you. I'm also looking for the root cause, but I need to go through the steps to discard probable causes and review the new logs more carefully.

Meanwhile, please try creating a new simple Hello World example with Gradle and check whether the Gradle settings are shown for that project.

An important question: are you just opening the existing project, or reimporting it via File | New | Project from Existing Source, selecting the folder, and choosing Import project from external modelGradle, then following the wizard?

If not, please do the whole regenerating process for the project:

  1. Go to File | Cache Recovery | Invalidate Caches and Restart | Invalidate and Restart.
  2. Close the project and the IDE
  3. Back up and remove the .idea folder and .iml file in your project (Since you backed up the .idea folder, if the issue persists after taking these steps, you can remove the new .idea folder and replace it with the old one).
  4. Follow the instructions to remove the Plugins directory manually in this article.
  5. Start the IDE again
  6. Go to File | New | Project from existing sources to import the current project.

Please let me know the result of both actions.

0

Hi again Impetus / Indu 

I got the root cause of your issue! So please omit the last message.

Looks like there's a problem with your PATH variable: two paths are accidentally concatenated (C:\Users\tommy\AppData\Local\Microsoft\WindowsApps, C:\php72), and the resulting string contains an illegal character (a comma in this case), which is not allowed in Windows file paths. This causes an InvalidPathException and prevents certain UI components (such as settings panels) from loading.

2026-01-27 09:51:53,121 [  28436] SEVERE - #c.i.o.o.e.ConfigurableCardPanel - cannot create configurable component
java.nio.file.InvalidPathException: Illegal char <:> at index 53: C:\Users\tommy\AppData\Local\Microsoft\WindowsApps, C:\php72
	at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:199)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:175)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
	at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:95)
	at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:231)
	at com.intellij.platform.core.nio.fs.DelegatingFileSystem.getPath(DelegatingFileSystem.java:94)
	at java.base/java.nio.file.Path.of(Path.java:148)
	at org.jetbrains.plugins.gradle.service.GradleInstallationManager.getGradleHomeFromPath(GradleInstallationManager.kt:163)
	at org.jetbrains.plugins.gradle.service.GradleInstallationManager.getAutodetectedGradleHome(GradleInstallationManager.kt:111)
	at org.jetbrains.plugins.gradle.service.project.open.GradleProjectImportUtil.suggestGradleHome(GradleProjectImportUtil.kt:95)
	at org.jetbrains.plugins.gradle.service.settings.IdeaGradleDefaultProjectSettingsControl.setCurrentDefaultProjectSettings(IdeaGradleDefaultProjectSettingsControl.kt:133)
	at org.jetbrains.plugins.gradle.service.settings.IdeaGradleDefaultProjectSettingsControl.<init>(IdeaGradleDefaultProjectSettingsControl.kt:56)
	at org.jetbrains.plugins.gradle.service.settings.IdeaGradleSystemSettingsControlBuilder.<init>(IdeaGradleSystemSettingsControlBuilder.java:87)
	at org.jetbrains.plugins.gradle.service.settings.JavaGradleSettingsControlProvider.getSystemSettingsControlBuilder(JavaGradleSettingsControlProvider.java:20)
	at org.jetbrains.plugins.gradle.service.settings.GradleSystemSettingsControl.<init>(GradleSystemSettingsControl.java:20)
	at org.jetbrains.plugins.gradle.service.settings.GradleConfigurable.createSystemSettingsControl(GradleConfigurable.java:32)
	at org.jetbrains.plugins.gradle.service.settings.GradleConfigurable.createSystemSettingsControl(GradleConfigurable.java:15)
	at com.intellij.openapi.externalSystem.service.settings.AbstractExternalSystemConfigurable.prepareSystemSettings(AbstractExternalSystemConfigurable.java:178)
	...

So please check your system PATH and replace the comma with a semicolon “;”. This has to fix the problem, allowing the UI to finish loading settings.

Let me know how it goes.

0

Dear Monica, 
you made my day! my gradle tab is working again!
So it was a self digged trap after all. I messed up the path, sigh
Thank  you so very much for helping me out!
cheers, thomas

 

0

Hey Thomas

It is great to know that the issue is resolved. We all have messed up the PATH, so don't worry ;)

It was a pleasure to help. If you need any further assistance, please let us know!

0

请先登录再写评论。