Java - Upgraded Java to JDK 20; added Initial support for light-weight test cases

This commit is contained in:
Gaston Gonzalez
2024-11-03 08:57:53 -07:00
parent 42d1934997
commit c3515f96f6
2 changed files with 23 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
# Author : Gaston Gonzalez
# Date : 3 November 2024
# Purpose : Test Java installation
# We need to redirect stderr to stdout otherwise grep will not match.
JAVA_OUT=$(java -version 2>&1 | grep 20.0.1)
exit $?