LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   eclipse from command line (https://www.linuxquestions.org/questions/linux-newbie-8/eclipse-from-command-line-313915/)

resego 04-16-2005 02:05 PM

eclipse from command line
 
i have download eclipse.. i want to run it from the command line by just typing
# eclipse
instead of ..
#/home/myname/eclipse/eclipse

how do i do that...
i am using fedora Core 3...

secesh 04-16-2005 02:09 PM

two ways: 1) put that path in your $PATH
2) ailias in ~/.bashrc

Mega Man X 04-16-2005 02:10 PM

Make a link:

ln -s /home/myname/eclipse/eclipse /usr/bin/eclipse

Regards!

secesh 04-16-2005 02:13 PM

what a great sig -- that should really be required watching!

resego 04-16-2005 02:29 PM

i tried to link it.. then i got the error below..

The Eclipse executable launcher was unable to locate its
companion startup.jar file (in the same directory as the executable).

then i moved the eclipse directory to the /usr/bin directory but now i get error saying that
#usr/bin/eclipse

is a directory....

the reason why i get the first error is that eclipse needs the startup.jar file that its talking about..
anymore ideas.....

secesh 04-16-2005 03:13 PM

nobody told you to move the eclipse directory into /usr/bin

the most relevant suggestion to something like that you got wat to create a symbolic link to the executable file in /usr/bin

as to the error that it is a directory, look inside the directory for the executable file.

Mega Man X 04-16-2005 03:56 PM

Quote:

Originally posted by secesh
what a great sig -- that should really be required watching!
Hey mate thanks :). Yeah, that little Billy is awesome. He is the newbie we all were once :D


All times are GMT -5. The time now is 07:37 AM.