From 2015844770d583e234f3d11140e3496ccb5e0aa4 Mon Sep 17 00:00:00 2001 From: Debayan Sutradhar Date: Wed, 29 Sep 2021 14:54:54 +0530 Subject: [PATCH] Show Java version and runtime name in About Dialog (#415) --- app/pom.xml | 2 +- .../javafx/scenebuilder/app/about/AboutWindowController.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/pom.xml b/app/pom.xml index 427b2af84..ff5d72f25 100644 --- a/app/pom.xml +++ b/app/pom.xml @@ -14,7 +14,7 @@ com.oracle.javafx.scenebuilder.app.SceneBuilderApp ${maven.build.timestamp} - ${java.vm.version}, ${java.vendor} + ${java.version}, ${java.runtime.name} ${javafx.version} yyyy-MM-dd HH:mm:ss diff --git a/app/src/main/java/com/oracle/javafx/scenebuilder/app/about/AboutWindowController.java b/app/src/main/java/com/oracle/javafx/scenebuilder/app/about/AboutWindowController.java index 9db2c759b..98a953df3 100644 --- a/app/src/main/java/com/oracle/javafx/scenebuilder/app/about/AboutWindowController.java +++ b/app/src/main/java/com/oracle/javafx/scenebuilder/app/about/AboutWindowController.java @@ -217,8 +217,8 @@ private StringBuilder getJavaFXParagraph() { private StringBuilder getJavaParagraph() { StringBuilder sb = new StringBuilder("Java\n"); //NOI18N - sb.append(System.getProperty("java.runtime.version")).append(", ") //NOI18N - .append(System.getProperty("java.vendor")) // NOI18N + sb.append(System.getProperty("java.version")).append(", ") //NOI18N + .append(System.getProperty("java.runtime.name")) // NOI18N .append("\n\n"); return sb; }