diff --git a/src/main/java/org/apache/sysml/api/mlcontext/MLContextUtil.java b/src/main/java/org/apache/sysml/api/mlcontext/MLContextUtil.java index c4314bf3326..d5b48bcc19f 100644 --- a/src/main/java/org/apache/sysml/api/mlcontext/MLContextUtil.java +++ b/src/main/java/org/apache/sysml/api/mlcontext/MLContextUtil.java @@ -974,8 +974,16 @@ public static String displayOutputs(Set outputNames, LocalVariableMap sy * @return the SystemML welcome message */ public static String welcomeMessage() { - StringBuilder sb = new StringBuilder(); - sb.append("\nWelcome to Apache SystemML!\n"); + StringBuilder sb = new StringBuilder(); + sb.append("\nWelcome to Apache SystemML!\n"); + try { + ProjectInfo info = ProjectInfo.getProjectInfo(); + if (info.version() != null) { + sb.append("Version "); + sb.append(info.version()); + } + } catch (MLContextException e) { + } return sb.toString(); }