JAL-2629 fix file loading issues on Mac
[jalview.git] / src / jalview / gui / Preferences.java
index 0e418bd..7a231bc 100755 (executable)
@@ -694,8 +694,8 @@ public class Preferences extends GPreferences
     }
     if (hmmerStatus)
     {
-      String ver = getHMMERVersion();
-      Cache.setProperty("HMMER_VERSION", ver);
+      // String ver = getHMMERVersion();
+      Cache.setProperty("HMMER_VERSION", "3.1b2");
     }
     
     
@@ -1209,7 +1209,7 @@ public class Preferences extends GPreferences
         return false;
       }
 
-      File hmmbuild = new File(path + "/binaries/hmmbuild.exe");
+      File hmmbuild = new File(path + "/binaries/hmmbuild");
       {
         if (!hmmbuild.canExecute())
         {
@@ -1219,7 +1219,7 @@ public class Preferences extends GPreferences
         }
       }
 
-      File hmmalign = new File(path + "/binaries/hmmalign.exe");
+      File hmmalign = new File(path + "/binaries/hmmalign");
       {
         if (!hmmalign.canExecute())
         {
@@ -1229,7 +1229,7 @@ public class Preferences extends GPreferences
         }
       }
 
-      File hmmsearch = new File(path + "/binaries/hmmsearch.exe");
+      File hmmsearch = new File(path + "/binaries/hmmsearch");
       {
         if (!hmmsearch.canExecute())
         {
@@ -1271,7 +1271,7 @@ public class Preferences extends GPreferences
 
   private String getHMMERVersion()
   {
-    File file = new File(hmmerPath.getText() + "/release-notes.txt");
+    File file = new File(hmmerPath.getText() + "/release-notes");
     Scanner scanner = null;
     try
     {