Eclipse C++ On Ubuntu installation Process - eclipse

I am now working on a data transfer project under Linux.
The Project Team choose putty to login in linux server via vim to development, But I think the efficiency is too low.
Now I choose Eclipse for C++, and distributor the version "eclipse-cpp-helios-linux-gtk.tar.gz" on Ubuntu.
However, I encountered a problem: My Linux system should install jre1_5_0_09linuxi586, but I can not find it on web.
Can anybody help me on how to install Elipse for C++ on a cleanup linux OS?
What I need is Eclipse for C++ running gdb and compiling on IDE, thanks!

Your question is difficult to understand, but if I'm reading it correctly, you're trying to install the Java Runtime Environment and Eclipse Helios for C++ on Ubuntu.
The easiest way to install the JRE is to use the packages in the "partner" repository:
Edit /etc/apt/sources.list:
sudo -e /etc/apt/sources.list
You should see a few lines that end with the word "partner." Remove the hash marks from the front of each of these lines.
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
Now update your package list and install the Sun Java Runtime:
sudo apt-get update
sudo apt-get install sun-java6-jre
Then you can unzip the Eclipse tarball and run the eclipse binary from inside the tarball:
tar -zxf eclipse-cpp-helios-linux-gtk.tar.gz
./eclipse

You can:
download a JRE or JDK version on the Oracle site or use the process "How to Install Java Runtime Environment (JRE) in Ubuntu"
Follow for instance those installation instruction
use the right eclipse.ini to launch your eclpise

Download page of Eclipse Helios (http://www.eclipse.org/downloads/packages) gives 2 good alternatives for C++ developers on Linux:
A) Eclipse IDE for C/C++ Developers, 87 MB without LinuxTools
B) Eclipse IDE for C/C++ Linux Developers, 120 MB with inbuilt LinuxTools like valgrind, gprof, systemtap etc.
C) Installing/Updating LinuxTools using UpdateManager (Note: You may need to do a Java6 JRE update as described below first.)
D) Updating Eclipse Helios CDT with UpdateManager
E) Helios Installation how-to
F) Java6 JRE update:
apt-get install sun-java6-jre
G) Unzip the Eclipse tarball and run the eclipse binary from inside the tarball:
tar -zxf eclipse-cpp-helios-linux-gtk.tar.gz && ./eclipse
For related info click here

Related

Failing at NetBeans Java Native Packaging for Linux

Doing Linux Native Package builds I'm running into problems with both RPM and DEB. In the case of RPMs, it's saying that rpmbuild cannot be found. Then for DEBs it reports the dpkg cannot be found.
Both dpkg and rpmbuild are installed and are in /usr/bin. Both are in my path and execute fine from CLI. Failure is the same whether I start NetBeans from GUI or CLI. I've even symlinked rpmbuild and dpkg into my NetBeans bin directory. No luck.
How does one go about getting NetBeans to find dpkg and rpmbuild so that it can complete native builds from the GUI? Currently working with SuSE LEAP 15.
For whatever reason, the "Package All Artifacts" option is currently generating .deb and .rpms, but I can't generate them individually. I'm OK with this. I think the most likely change to make that option work was symlinking the binaries from user bin into my netbeans bin.

How to correctly setup PyDev in NVIDIA Nsight Eclipse version?

In Ubuntu 16.04(64 bit), I've installed the cuda 7.5 and it has an internal NVIDIA Nsight Eclipse. Now I want to install the PyDev plugin into it. But it seems not working. The PyDev is not shown in the IDE.
So I searched in Google, it returns one solution in here, it can be worked. But in that way I have to using the sudo command.
Is there any more convenient way to successfully install the PyDev into Nsight?
Finally, I found one solution.
Download PyDev-2.8.2.zip and decompress it into the corresponding directories of /usr/local/cuda-7.5/libnsight/.
sudo chmod 777 /usr/local/cuda-7.5 -R
Then, when you rerun the nsight, the PyDev will be loaded and it works OK.

How to install NVIDIA Nsight Eclipse Edition without CUDA toolkit?

I would like to install NVIDIA Nsight Eclipse Edition on Ubuntu without installing unneeded dependencies from the CUDA toolkit.
I know that nsight uses nvvc and some other libraries from the toolkit, but would that be possible to have a minimal copy of nsight without having to duplicate ALL of the cuda system repository ?
If you are on Ubuntu you can install it like sudo apt-get install nvidia-nsight and I think this gives you just nsight eclipse edition.
Another approach would be to take a copy of nsight from a full cuda install and then uninstall cuda. I just looked under /usr/local/cuda/libnsight and this looks like a full eclipse install folder. Maybe just copy this directory to somewhere else, and remove /usr/local/cuda.

What is the yum command to install Eclipse Indigo for Java EE developers?

I want to install Eclipse Indigo for Java EE developers in CentOS through yum command.
yum install eclipse ...
What is the exact command?
Download the Eclipse archive from the Eclipse website. Unpack it in a suitable location. The unpacked directory tree includes the executable. It is not packaged using RPM. The RedHat (and other O/S) provided versions are usually very old and do not include the Java EE Eclipse modules.
yum install eclipse-platform
for the latest eclipse version :)
If you want JEE you can install the plugin afterwards
Edit:
For CentOS 8 you have to enable the eclipse module and install the package:
dnf module enable eclipse
dnf install eclipse
CentOS 6 includes Eclipse 3.6.1 (Helios) so it's not possible to install Eclipse 3.7 (Indigo) through Yum.
You can either install it manually like Raedwald explained OR you could use Fedora 16 which ships Indigo.
Since RHEL/CentOS is very conservative regarding software versions, I wouldn't expect Indigo to be supported any time soon.
Like the others have answered, you need to install it manually if your yum doesn't have it.
This is the guide I used to do this: http://www.if-not-true-then-false.com/2010/linux-install-eclipse-on-fedora-centos-red-hat-rhel/
I used it with Fedora 17 which supports Eclipse 4.2 (juno) instead of 3.7 (indigo).
To run them side-by-side you can first install the yum version, then rename /bin/eclipse and /usr/share/applications/eclipse.desktop to something you want like eclipse-yum then update eclipse-yum.desktop to reference eclipse-yum
Finally, install it as the guide explains.

svn for eclipse on mac os lion

I need to use Subversion with Eclipse on Mac Lion. I encounter problem as below
I saw: Subclipse in Mac OS Lion shows "Unable to load default SVN client" error
In my context:
I use Mac OS Lion 10.7.2
Eclipse version: 3.7.1 64 bit
I install Subversion: Universal Subversion 1.6.17 Binaries for Lion (Mac OS X 10.7) in the page: http://www.open.collab.net/downloads/community/
I install Subclipse by the "Install New Software..." feature of Eclipse with the update link: http://subclipse.tigris.org/update_1.8.x
It install Subclipse 1.8.2, JavaHL 1.7.1.1 and some other packages.
When I go to menu Preferences/ Team / SVN , it produce error: "Incompatible JavaHL library loaded. 1.7.x or later required."
I find to install SVN Kit, so use it instead of JavaHL as the very first link refer (here), but I don't see it in Subclipse package.
The issue is that you need the right native Subversion libraries for the version of Subclipse you use. This page has information and a chart of the versions:
http://subclipse.tigris.org/wiki/JavaHL
The binaries on CollabNet website are still for SVN 1.6 so you either need to get SVN 1.7 binaries (MacPorts and Homebrew are good places to get it) or you need to use Subclipse 1.6.x.
Follow the steps as below to get it working:
Install subclipse via update url: http://subclipse.tigris.org/update_1.8.x
Install subversion using the binary from here: http://www.ubersvn.com/download (scroll down to "Command-Line Client 1.6.18 and 1.7.6 certified by WANdisco" section since that's all you need)
I found a solution (download from WanDisco instead of CollabNet) in this thread: Subclipse in Mac OS Lion shows "Unable to load default SVN client" error
I went to this topic because I was in need to make SVN 1.7 to work with subclipse.
For those with the same problem, the easiest way to fix it is to install Subversion and JavaHL from MacPorts.
The packages you need to install with macports are subversion and subversion-javahlbindings (check here), they are both 1.7.1.
With these packages you can install the subclipse using the update site with version 1.8.x. (http://subclipse.tigris.org/update_1.8.x)
If you don't have macports installed follow these instructions. I am sure it will be useful for other things too. You also need to install XCode from AppStore.
Installing the binaries from http://www.wandisco.com/subversion/download#osx fixed this issue for me.
In case anyone using homebrew wants SVN version 1.6 support (as I did due to interacting with some old servers), here is how I got it to work:
Install SVN 1.6 via homebrew:
brew tap homebrew/versions
brew info homebrew/versions/subversion16
brew install homebrew/versions/subversion16 --java
Ensure that /usr/local/bin is in your PATH before /usr/bin, so that homebrew's SVN is ran instead of OS X's.
If using Eclipse:
Be sure to install Subclipse 1.6 (e.g. use the 1.6 update site) instead of the newest one.
If you follow the homebrew formula instructions to link the java library to OS X's Extensions, you do NOT have to edit your Eclipse.ini file to include the path there. For posterity, those commands are:
sudo mkdir -p /Library/Java/Extensions
sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib
HTH
This post resolved my problem: http://bridgetconsulting.com/?p=64 Requires MacPorts
Add to /opt/local/etc/macports.conf this line
universal_archs i386 x86_64
and run
sudo port install subversion-javahlbindings +no_bdb +universal
I installed subversion 1.7 and the java-hl bindings using homebrew by following the instructions here.
Specifically:
[sudo] brew install subversion --universal --java
Then linking the installed libraries in /Library/Java/Extensions so eclipse picked them up.
/Library/Java/Extensions $ sudo ln -sf /usr/local/lib/libsvnjavahl-1.dylib
/Library/Java/Extensions $ sudo ln -sf /usr/local/lib/libsvnjavahl-1.jnilib
You only installed the Java HL package. Uninstall JavaHL and install the SVN Kit. You can find options for connecting in Preferences -> Team...