command to eclipse
how to i set it so that if i type 'eclipse' it will launch eclipse? thanks!
i tried linking a shortcut to the executable file into /usr/bin, but it gives me an error message:
JVM terminated. Exit code=1
Java is installed right? How exactly did you link it?
yea, java is installed, i can launch eclipse when i just go to my apps folder, and click on the eclipse file. but when i create a link to that file in the /usr/bin folder, that link doesn't work and gives that error. would creating an alias for it work?
Give aliasing a try:
If not, did you link symbolically?
i did the alias thing, but it only works if i don't exit the console, once i exit the console, the alias is gone because when i do the alias command when re-entering the console, the eclipse command doesn't show up.
Open up your ~/.bashrc file (assuming that you use a Bash shell). Add the alias line to that and it will be executed everytime you enter the terminal.