I tried to open my bashrc
and tried to provide an alias for eclipse like
alias eclipse='bash /usr/local/softy/eclipse/eclipse'
But I get the following error when I try to invoke eclipse.
/usr/local/softy/eclipse/eclipse: /usr/local/softy/eclipse/eclipse: cannot execute binary file
Its permission is
-rwxr-xr-x 1 messagebus users 71023 Feb 8 2012 /usr/local/softy/eclipse/eclipse
And I am able to open it directly from terminal like /usr/local/softy/eclipse/eclipse
How should I correct it?
ls -l /usr/local/softy/eclipse/eclipse
? Also does it work running/usr/local/softy/eclipse/eclipse
directly in terminal. – user.dz Jan 18 '14 at 16:16