harshith-21 opened a new pull request, #3848:
URL: https://github.com/apache/ambari/pull/3848

   ## What changes were proposed in this pull request?
   
   AMBARI-26186 : Add Java 17 support to getJavaVersion method
   
   ## How was this patch tested?
   
   Took that function snippet out and ran seperatly in jdk17 env and its 
recognising the java version correctly as follows
   ```
   $ > java JavaVersionCheck
   Detected Java Version: 17
   ```
   otherwise it would be like
   ```
   $ > java JavaVersionCheck
   Detected Java Version: -1 
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to