Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If I double-click on the eclipse icon then Eclipse boots up, but for some reason when I navigate to the directory of Eclipse and run something like

sudo bash eclipse

I get the error that it can't execute a binary file. Which is strange because why does double-clicking on it work then? :)

Thanks, Alex

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Actually the answer why and the command to do it correctly on various OS is here:

http://www.luisdelarosa.com/2004/10/27/how-to-run-eclipse-from-the-command-line-in-os-x-and-windows-and-linux/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.