I'm currently trying to run Knime (a Java-based program) on a Linux server, and every time I try to execute the file (knime) it gives me a "cannot execute binary file" error. I've posted the relevant information below.
uname -a
Linux safar 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux
ls -al knime_2.6.3
drwxrwxr-x 10 **** **** 4096 Nov 28 23:18 knime_2.6.3
ls -al /knime_2.6.3/knime
-rwxrwxrwx 1 **** ***** 71162 Oct 15 15:11 knime
For reference, the file's name is "knime" and it's within the "knime_2.6.3" folder. There are other files within that folder pertinent to Knime (which I can post information about if necessary) but the Readme simply says to execute knime. Here's the error:
. knime
-bash: .: knime: cannot execute binary file
I'm not really experienced with Linux, so any help would be appreciated. Thank you!
file /knime_2.6.3/knime
? – Karlson Nov 29 '12 at 4:35. knime
instead of./knime
. – Jim Paris Nov 29 '12 at 6:45.
command is equivalent to thesource
command that used to source another file with bash code. – tijagi Nov 29 '12 at 8:50