Results 1 to 6 of 6
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-19-2005 #1Just Joined!
- Join Date
- Oct 2005
- Location
- Chicago
- Posts
- 74
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:
Code:JVM terminated. Exit code=1 /usr/bin/java -jar startup.jar -os linux -ws gtk -arch x86 -launcher /usr/bin/eclipse -name Eclipse -showsplash 600 -exitdata bd0002 -vm /usr/bin/java -vmargs -jar startup.jar
- 11-19-2005 #2
Java is installed right? How exactly did you link it?
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 11-19-2005 #3Just Joined!
- Join Date
- Oct 2005
- Location
- Chicago
- Posts
- 74
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?
- 11-19-2005 #4
Give aliasing a try:
If not, did you link symbolically?Code:alias eclipse='/path/to/eclipse'
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 11-21-2005 #5Just Joined!
- Join Date
- Oct 2005
- Location
- Chicago
- Posts
- 74
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.
- 11-21-2005 #6
Righto.
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.


Reply With Quote
