LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-13-2018, 05:46 PM   #1
bkelly
Member
 
Registered: Jan 2008
Distribution: Centos 7-4
Posts: 137

Rep: Reputation: 11
Restart Eclipse, need new icon


Ubuntu 16.04.3
I downloaded Eclipse install for 64 bit and put the tar.gz file in what looked like a nice temporary place: /home/eclipse. (I can remove all that nonsense after the install. {chuckle} ) Untar and install. I don’t recall it asking where Eclipse should be installed. Did I miss that?

Start exploring. There was an icon on the left side of the monitor below the ones for Firefox, System Setting, Terminal, etc. I presumed that was a start icon like Firefox and the others. Added by the install procedure.
Silly me.
Now I can only start it by clicking the same file used to install it.

Should I have put that tar file somewhere else? Can I fix that now? How can I create a shortcut/icon/quick start button somewhere to start Eclipse?

Last edited by bkelly; 03-13-2018 at 05:47 PM.
 
Old 03-13-2018, 06:15 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,385

Rep: Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979
Is that one where you just run the install script? Search for 'eclipse.desktop'. Then, copy it into your Desktop directory.
 
Old 03-14-2018, 10:22 AM   #3
bkelly
Member
 
Registered: Jan 2008
Distribution: Centos 7-4
Posts: 137

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by AwesomeMachine View Post
Is that one where you just run the install script? Search for 'eclipse.desktop'. Then, copy it into your Desktop directory.
I think so. Make that no. After the un-tar operation there is an executable named eclipse with no dot and no file name extension. I ran that to do the install.

I searched for eclipse.desktop with:
Code:
find / -name eclipse.desktop &> search.txt
Which produced a plethora of permission denied results but was able to search that text file and eclipse.desktop was not present. The executable file eclipse is 71K bytes so I could copy that to my desktop. But then it would be in the wrong directory. Maybe a soft link to that file?

When I ran that eclipse executable the "install" was completed really quick. Maybe it did not really install the app, just set it up for use on my computer. In case someone knows here is the downloaded file name:
Code:
eclipse-linuxtools-helios-SR2-incubation-linux-gtk-x86_64.tar.gz

Last edited by bkelly; 03-14-2018 at 10:25 AM.
 
Old 03-15-2018, 07:53 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,385

Rep: Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979
OK, you could just install eclipse from the distro repo. The elipse install program is probably a script. Inside the eclipse package there is also a file called 'install'.
 
Old 03-15-2018, 09:08 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,676

Rep: Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336
is it by chance a precompiled binary?

which one did you grab?
http://www.eclipse.org/downloads/eclipse-packages/

why did you put that output off of find into a file to look at?
Code:
sudo find / -iname eclipse.desktop
only spits out if it finds it, and some stuff that it might tell you it cannot access it, nbd. Just trying to save you a step in finding it.
Quote:
eclipse-inst-linux64.tar.gz
eclipse-jee-oxygen-2-linux-gtk-x86_64.tar.gz
one is binary and the other an install . which did you pick to use?

Last edited by BW-userx; 03-15-2018 at 09:11 AM.
 
Old 03-15-2018, 02:56 PM   #6
bkelly
Member
 
Registered: Jan 2008
Distribution: Centos 7-4
Posts: 137

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by BW-userx View Post
is it by chance a precompiled binary?

which one did you grab?
http://www.eclipse.org/downloads/eclipse-packages/
I selected on for C/C++ development. The download name is in my OP. The size is 127.6 meg. When I checked your link the size is 204 meg so I am at a bit of a loss.

Quote:
why did you put that output off of find into a file to look at?
Code:
sudo find / -iname eclipse.desktop
only spits out if it finds it, and some stuff that it might tell you it cannot access it, nbd. Just trying to save you a step in finding it.
I don't understand your question. As I read that command it says to search the entire disk for a file named "eclipse.desktop" And it ignores case during the search.

Quote:
one is binary and the other an install . which did you pick to use?
Evidently I picked the binary. I now presume that means the entire eclipse directory that can drop in to my system drive and be running. I expected it to install but when I ran it the first time it only took a few seconds. I further presume I need to use your link and download that 204 MB file for the install. Is that correct? Do I need anything else, like maybe toolchains. I will be writing with C/C++.
 
Old 03-15-2018, 04:28 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,676

Rep: Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336
Code:
userx@slackwhere101:~/Documents/eclipse
$ ls
artifacts.xml  dropins  eclipse.ini  icon.xpm     p2       readme
configuration  eclipse  features     notice.html  plugins
userx@slackwhere101:~/Documents/eclipse
$ ./eclipse
this is Linux there will be no .exe attached to executables. they are only, for the most part, but does not have to be the name of the program.

I do not have jre installed, but, it is a IDE you're running UBuntututu, does it not have something called build essentials. I'd think that would suffice for the basics of c/c++ programming.

and yes /opt is where most put thier stuff like that. you're probablely going to need to add a home made desktop file for it. the
Exec= can be the absolute path to /opt/... or add a soft link to /usr/bin or /usr/local/bin then the Exec=eclipse is only needed because of your PATH includes should take care of it.

just. cd into the parent dir where it is at then.
Code:
sudo mv eclipse /opt
to put the entire directory and its contents into /opt
 
Old 03-15-2018, 04:48 PM   #8
bkelly
Member
 
Registered: Jan 2008
Distribution: Centos 7-4
Posts: 137

Original Poster
Rep: Reputation: 11
BW-userx:
Comparing your ls output against my directory contents shows that in addition to your list mine has: about_files, about.html, epl-v10.html (eclipse public license) and libcairo-swt.so. I don’t see anything called “essentials.

I have created and run a simple program. I am working on a second one now but Eclipse claims there is nothing to build. My google search found something about that and am working it.

Ok then, when I am done with that nothing to build problem I will move it to /opt.
Thank you for taking the time to reply.
 
Old 03-15-2018, 05:06 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro
Posts: 6,676

Rep: Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336
I downloaded this one, this time, for c++
eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz

http://www.eclipse.org/downloads/eclipse-packages/

Eclipse IDE for C/C++ Developers
 
Old 03-15-2018, 06:27 PM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,385

Rep: Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979
Well, aside from that other problem, if you want an icon to launch the program--as the op states--you can find any .desktop file, copy it, delete everything in it that you don't need, and change what you do need to fit the eclipse program. It's really simple to do. Then, put the file in /home/user/Desktop. It will be a launch icon on the desktop.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to install eclipse for java and eclipse cdt on Slack 14? vectrum Linux - Software 3 04-30-2013 12:13 AM
How do I install the Eclipse package downloaded from the Eclipse website? jamesth Linux - Newbie 14 11-01-2012 11:55 AM
Eclipse mp3 player model type: ECLIPSE-CL2BLK Bagatelle Linux - Newbie 0 12-25-2009 01:39 PM
LXer: Gentleware Unveils New Apollo for Eclipse and openArchitectureWare Eclipse Dist LXer Syndicated Linux News 0 10-25-2007 09:30 PM
How can I add my Eclipse icon to the Panel chinaundead Red Hat 0 04-02-2004 01:56 PM

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

All times are GMT -5. The time now is 10:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration