File tree Expand file tree Collapse file tree
plugin/src/main/java/com/intellij/java/impl/openapi/projectRoots/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ private static String getConvertedHomePath(Sdk sdk) {
138138 }
139139
140140 /**
141- * @implNote do not check JAVA_HOME, {@link #getEnviromentVariables (Platform)}
141+ * @implNote do not check JAVA_HOME, {@link #getEnvironmentVariables (Platform)}
142142 */
143143 @ Override
144144 public Collection <String > suggestHomePaths () {
@@ -182,6 +182,11 @@ public Set<String> getEnviromentVariables(Platform platform) {
182182 return Set .of ("JAVA_HOME" );
183183 }
184184
185+ @ Override
186+ public Set <String > getEnvironmentVariables (Platform platform ) {
187+ return Set .of ("JAVA_HOME" );
188+ }
189+
185190 private void collectJavaPathsAtSdkman (Collection <String > list , File sdkmanJavaDir ) {
186191 File [] files = sdkmanJavaDir .listFiles ();
187192 if (files != null ) {
You can’t perform that action at this time.
0 commit comments