ensured properties are loaded before loggers are initialised.
[jalview.git] / src / jalview / bin / Jalview.java
index 1a67c05..0272751 100755 (executable)
@@ -79,6 +79,7 @@ public class Jalview
         System.exit(0);\r
           }\r
 \r
+          Cache.loadProperties(aparser.getValue("props")); // must do this before anything else!\r
 \r
           if (aparser.contains("nodisplay"))\r
           {\r
@@ -103,8 +104,6 @@ public class Jalview
             System.exit(0);\r
           }\r
 \r
-        Cache.loadProperties(aparser.getValue("props"));\r
-\r
         Desktop desktop = null;\r
         if( !headless )\r
         {\r