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
精彩评论