Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Use JAVA_HOME to get the correct Java version in environment
• Replaced direct java -version command with ${JAVA_HOME}/bin/java -version to ensure the Java version is fetched from the correct Java installation specified by JAVA_HOME. This improves compatibility and prevents potential issues when multiple Java versions are installed on the system.
- Loading branch information