LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2005, 02:05 PM   #1
resego
Member
 
Registered: Mar 2005
Posts: 37

Rep: Reputation: 15
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...
 
Old 04-16-2005, 02:09 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
two ways: 1) put that path in your $PATH
2) ailias in ~/.bashrc
 
Old 04-16-2005, 02:10 PM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Make a link:

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

Regards!
 
Old 04-16-2005, 02:13 PM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
what a great sig -- that should really be required watching!
 
Old 04-16-2005, 02:29 PM   #5
resego
Member
 
Registered: Mar 2005
Posts: 37

Original Poster
Rep: Reputation: 15
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.....
 
Old 04-16-2005, 03:13 PM   #6
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
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.
 
Old 04-16-2005, 03:56 PM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 01:28 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 10:48 AM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration