private void verifyBinaryState() throws InterruptedException {
        File binary = new File(mainWindow.getExecutableFilePath());

        if (!binary.exists() || !binary.canExecute()) {
            throw new InterruptedException("The binary at '" + binary.getAbsolutePath() + "' has to be existing and executable.");
        } else {
            System.out.println("[J] The binary at '" + binary.getAbsolutePath() + "' seems to be executable.");
        }
    }