JAL-3991 JAVA_COMPILE_VERSION put into build_properties. Check for possible JVM misma...
[jalview.git] / src / jalview / bin / Cache.java
index ac8a183..9d3152e 100755 (executable)
@@ -627,6 +627,11 @@ public class Cache
         applicationProperties.put("VERSION",
                 buildProperties.getProperty("VERSION"));
       }
+      if (buildProperties.getProperty("JAVA_COMPILE_VERSION", null) != null)
+      {
+        applicationProperties.put("JAVA_COMPILE_VERSION",
+                buildProperties.getProperty("JAVA_COMPILE_VERSION"));
+      }
     } catch (Exception ex)
     {
       System.out.println("Error reading build details: " + ex);