Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse cdt (Neon, Mars) installation problem - Ubuntu 12.04, 32 bit
Eclipse cdt (Neon, Mars) installation problem - Ubuntu 12.04, 32 bit [message #1738078] Fri, 15 July 2016 15:27 Go to next message
Harshad Wadkar is currently offline Harshad WadkarFriend
Messages: 2
Registered: July 2016
Junior Member
Hello,

I have downloaded eclipse cdt neon tar.gz file from https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/R/eclipse-cpp-neon-R-linux-gtk.tar.gz

The sha512sum of downloaded file is same as the sha512 given on the above mentioned url.

After performing extraction, moving eclipse folder to /opt, saw the contents of /opt/eclipse using ls -la, it shows eclipse
-rwxr-xr-x 1 root root 71264 Jun 6 22:09 eclipse

After performing changes in the file /usr/share/applications/eclipse.desktop (as per akovid.blogspot.in/2012/08/installing-eclipse-juno-42-in-ubuntu.html)
tried to execute the file eclipse but getting an error

bash: ./eclipse: No such file or directory

Need guidance to install eclipse cdt (preferably neon) on Ubuntu 12.04, 32 bit.

The same problem faced while installing Mars version.

Waiting for the reply.

Thanks & Regards

Harshad
Re: Eclipse cdt (Neon, Mars) installation problem - Ubuntu 12.04, 32 bit [message #1738140 is a reply to message #1738078] Sat, 16 July 2016 05:47 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30230
Registered: July 2009
Senior Member
Harshad,

Of course the executable then is /opt/eclipse/eclipse. That's marked
with chmod +x for all groups? Is that what you specified as the
absolute Exec path of the .desktop? You're trying to run from the shell
it seems. What's the value of the PATH variable? If you say "which
eclipse" is it finding one at all on your path?


On 15.07.2016 20:42, Harshad Wadkar wrote:
> Hello,
>
> I have downloaded eclipse cdt neon tar.gz file from
> https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/R/eclipse-cpp-neon-R-linux-gtk.tar.gz
>
> The sha512sum of downloaded file is same as the sha512 given on the
> above mentioned url.
>
> After performing extraction, moving eclipse folder to /opt, saw the
> contents of /opt/eclipse using ls -la, it shows eclipse -rwxr-xr-x 1
> root root 71264 Jun 6 22:09 eclipse
>
> After performing changes in the file
> /usr/share/applications/eclipse.desktop (as per
> akovid.blogspot.in/2012/08/installing-eclipse-juno-42-in-ubuntu.html)
> tried to execute the file eclipse but getting an error
>
> bash: ./eclipse: No such file or directory
>
> Need guidance to install eclipse cdt (preferably neon) on Ubuntu
> 12.04, 32 bit.
>
> The same problem faced while installing Mars version.
>
> Waiting for the reply.
>
> Thanks & Regards
>
> Harshad
Re: Eclipse cdt (Neon, Mars) installation problem - Ubuntu 12.04, 32 bit [message #1738157 is a reply to message #1738140] Sat, 16 July 2016 11:19 Go to previous messageGo to next message
Harshad Wadkar is currently offline Harshad WadkarFriend
Messages: 2
Registered: July 2016
Junior Member
Hello,

Today following are the steps, I have performed :
1. sudo apt-get autoremove eclipse*
2. rm -r ~/.eclipse/
3. java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~12.04-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
4. Downloaded eclipse cdt neon tar.gz file from
https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/R/eclipse-cpp-neon-R-linux-gtk.tar.gz
5. Verified the sha512sum of the downloaded tar file - found same as that of given on the eclipse site
6. Performed untar
tar xfz eclipse-cpp-neon-R-linux-gtk.tar.gz
7. Copied eclipse folder from Downloads to /opt
root@ubuntu:/opt# cp -r /home/harshad/Downloads/eclipse/ .
8. root@ubuntu:/opt# ls
eclipse
root@ubuntu:/opt# cd eclipse/
root@ubuntu:/opt/eclipse# ls -la
total 476
drwxr-xr-x 8 root root 4096 Jul 16 16:33 .
drwxr-xr-x 3 root root 4096 Jul 16 16:33 ..
-rw-r--r-- 1 root root 144737 Jul 16 16:33 artifacts.xml
drwxr-xr-x 5 root root 4096 Jul 16 16:33 configuration
drwxr-xr-x 2 root root 4096 Jul 16 16:33 dropins
-rwxr-xr-x 1 root root 71264 Jul 16 16:33 eclipse
-rw-r--r-- 1 root root 466 Jul 16 16:33 eclipse.ini
-rw-r--r-- 1 root root 60 Jul 16 16:33 .eclipseproduct
drwxr-xr-x 81 root root 12288 Jul 16 16:33 features
-rwxr-xr-x 1 root root 140566 Jul 16 16:33 icon.xpm
-rw-r--r-- 1 root root 6297 Jul 16 16:33 notice.html
drwxr-xr-x 4 root root 4096 Jul 16 16:33 p2
drwxr-xr-x 9 root root 65536 Jul 16 16:33 plugins
drwxr-xr-x 2 root root 4096 Jul 16 16:33 readme
root@ubuntu:/opt/eclipse#
9. Viewed PATH (as suggested by Ed Merks)
root@ubuntu:/opt/eclipse# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
9. Executed which eclipse (as suggested by Ed Merks) - but it showed no result
root@ubuntu:/opt/eclipse# which eclipse
root@ubuntu:/opt/eclipse#
10. Tried to execute eclipse in the same folder /opt
root@ubuntu:/opt/eclipse# ./eclipse
bash: ./eclipse: No such file or directory

I have mentioned all the steps followed as well as the sequence of step execution.

I have viewed the contents of eclipse.ini (gedit /opt/eclipse/eclipse.ini) file which shows : Dosgi.requiredJavaVersion=1.8, on my machine the Java version is 1.8 (given above in step 3)

I need help to install neon (eclipse cdt).

Thanks & Regards

Harshad
Re: Eclipse cdt (Neon, Mars) installation problem - Ubuntu 12.04, 32 bit [message #1738159 is a reply to message #1738157] Sat, 16 July 2016 12:36 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30230
Registered: July 2009
Senior Member
Harshad,

Does running /opt/eclipse/eclipse fail the same way? Does running ls
-sail /opt/eclipse/eclipse indicate that it has execute permission?


On 16.07.2016 13:19, Harshad Wadkar wrote:
> Hello,
>
> Today following are the steps, I have performed :
> 1. sudo apt-get autoremove eclipse*
> 2. rm -r ~/.eclipse/
> 3. java -version
> openjdk version "1.8.0_91"
> OpenJDK Runtime Environment (build
> 1.8.0_91-8u91-b14-0ubuntu4~12.04-b14)
> OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
> 4. Downloaded eclipse cdt neon tar.gz file from
> https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/R/eclipse-cpp-neon-R-linux-gtk.tar.gz
> 5. Verified the sha512sum of the downloaded tar file - found same as
> that of given on the eclipse site
> 6. Performed untar tar xfz eclipse-cpp-neon-R-linux-gtk.tar.gz
> 7. Copied eclipse folder from Downloads to /opt
> root@ubuntu:/opt# cp -r /home/harshad/Downloads/eclipse/ .
> 8. root@ubuntu:/opt# ls
> eclipse
> root@ubuntu:/opt# cd eclipse/
> root@ubuntu:/opt/eclipse# ls -la
> total 476
> drwxr-xr-x 8 root root 4096 Jul 16 16:33 .
> drwxr-xr-x 3 root root 4096 Jul 16 16:33 ..
> -rw-r--r-- 1 root root 144737 Jul 16 16:33 artifacts.xml
> drwxr-xr-x 5 root root 4096 Jul 16 16:33 configuration
> drwxr-xr-x 2 root root 4096 Jul 16 16:33 dropins
> -rwxr-xr-x 1 root root 71264 Jul 16 16:33 eclipse
> -rw-r--r-- 1 root root 466 Jul 16 16:33 eclipse.ini
> -rw-r--r-- 1 root root 60 Jul 16 16:33 .eclipseproduct
> drwxr-xr-x 81 root root 12288 Jul 16 16:33 features
> -rwxr-xr-x 1 root root 140566 Jul 16 16:33 icon.xpm
> -rw-r--r-- 1 root root 6297 Jul 16 16:33 notice.html
> drwxr-xr-x 4 root root 4096 Jul 16 16:33 p2
> drwxr-xr-x 9 root root 65536 Jul 16 16:33 plugins
> drwxr-xr-x 2 root root 4096 Jul 16 16:33 readme
> root@ubuntu:/opt/eclipse# 9. Viewed PATH (as suggested by Ed Merks)
> root@ubuntu:/opt/eclipse# echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> 9. Executed which eclipse (as suggested by Ed Merks) - but it showed
> no result
> root@ubuntu:/opt/eclipse# which eclipse
> root@ubuntu:/opt/eclipse#
> 10. Tried to execute eclipse in the same folder /opt
> root@ubuntu:/opt/eclipse# ./eclipse bash: ./eclipse: No
> such file or directory
>
> I have mentioned all the steps followed as well as the sequence of
> step execution.
>
> I have viewed the contents of eclipse.ini (gedit
> /opt/eclipse/eclipse.ini) file which shows :
> Dosgi.requiredJavaVersion=1.8, on my machine the Java version is 1.8
> (given above in step 3)
>
> I need help to install neon (eclipse cdt).
>
> Thanks & Regards
>
> Harshad
>
Previous Topic:Need to generate Multiple Tables dynamically in Report
Next Topic:Not possible to configure ADT in eclipse
Goto Forum:
  


Current Time: Wed Jun 26 10:04:52 GMT 2019

Powered by FUDForum. Page generated in 0.03240 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top