Skip to content

Commit

Permalink
Update wrong JDK version in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
A1kmm committed Jul 12, 2024
1 parent 39d5972 commit 2334ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/lib/jdk/JdkHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class JdkHelper {
try {
const releaseFilePath = join(javaHome, 'release');
const file = await fsPromises.readFile(releaseFilePath, 'utf-8');
if (file.indexOf('JAVA_VERSION="17.0') < 0) { // Checks if the jdk's version is 11 as needed
if (file.indexOf('JAVA_VERSION="17.0') < 0) { // Checks if the jdk's version is 17 as needed
return Result.error(new ValidatePathError(
'JDK version not supported. JDK version 17 is required.', 'PathIsNotSupported'));
}
Expand Down

0 comments on commit 2334ccd

Please sign in to comment.