diff --git a/CCDD.jar b/CCDD.jar index 25432654..a7e9bcb8 100644 Binary files a/CCDD.jar and b/CCDD.jar differ diff --git a/README.md b/README.md index 41c5dec0..bde20394 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,11 @@ _Note: The master branch contains_ **CCDD version 1**_, which is superseded by_ * Beginning with CCDD version 2.1.2 Python 3 is supported +*** Version 2.1.9 has been released ** + +Below is a brief description of what has changed in version 2.1.8 +* Updated version and build date extraction from the jar file + *** Version 2.1.8 has been released ** Below is a brief description of what has changed in version 2.1.8 diff --git a/ccdd.build.number b/ccdd.build.number index 38fe25f4..4d5ff48b 100644 --- a/ccdd.build.number +++ b/ccdd.build.number @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Tue Apr 02 08:02:55 CDT 2024 -build.number=9 +#Thu Apr 11 07:52:43 CDT 2024 +build.number=10 diff --git a/src/CCDD/CcddMain.java b/src/CCDD/CcddMain.java index 57e1c52a..7279a1e3 100644 --- a/src/CCDD/CcddMain.java +++ b/src/CCDD/CcddMain.java @@ -1612,7 +1612,8 @@ private void findVersionAndBuildDate() try { // Get the path+name of the .jar file in a format acceptable to the OS - String jarFileName = System.getProperty("sun.java.command"); + String jarFileName = System.getProperty("java.class.path") + .replaceFirst("([^" + File.pathSeparator + "]+).+", "$1"); if (jarFileName != null) {