+
+ File hmmbuild = new File(path + "/binaries/hmmbuild.exe");
+ {
+ if (!hmmbuild.canExecute())
+ {
+ message += MessageManager.getString("label.hmmbuild_not_found")
+ + "\n";
+ missing++;
+ }
+ }
+
+ File hmmalign = new File(path + "/binaries/hmmalign.exe");
+ {
+ if (!hmmalign.canExecute())
+ {
+ message += MessageManager.getString("label.hmmalign_not_found")
+ + "\n";
+ missing++;
+ }
+ }
+
+ File hmmsearch = new File(path + "/binaries/hmmsearch.exe");
+ {
+ if (!hmmsearch.canExecute())
+ {
+ message += MessageManager.getString("label.hmmsearch_not_found")
+ + "\n";
+ missing++;
+ }
+ }
+
+ if (missing > 0)
+ {
+ if (missing < 3)
+ {
+ JvOptionPane.showInternalMessageDialog(Desktop.desktop, message,
+ MessageManager.getString("label.invalid_folder"),
+ JvOptionPane.ERROR_MESSAGE);
+ return false;
+ }
+ else
+ {
+ JvOptionPane.showInternalMessageDialog(Desktop.desktop,
+ MessageManager.getString("label.no_binaries"),
+ MessageManager.getString("label.invalid_folder"),
+ JvOptionPane.ERROR_MESSAGE);
+ return false;
+ }
+ }
+