HOWTO install "Eclipse CDT"
2009-12-21 09:50
369 查看
(1)download JRE(java run enviroment)
from: http://www.java.com/zh_CN/download/linux_manual.jsp?locale=zh_CN&host=www.java.com:80 select: Linux (自解压文件) 文件大小: 19.9 MB
(2)download Eclipse IDE
from: http://www.eclipse.org/downloads/ select: Eclipse IDE for C/C++ Developers (79 MB)
(3)install JRE
(I)
_______________________________________________
su
_______________________________________________
switch to root
(II)
to make a directory named"java" under /usr/local/, type
_______________________________________________
mkdir /usr/local/java
_______________________________________________
in terminal
(III)
then move "jre-6u17-linux-i586.bin" to /usr/local/java
(IV)
_______________________________________________
chmod a+x jre-6u17-linux-i586.bin
_______________________________________________
(V)
_______________________________________________
./jre-6u17-linux-i586.bin
_______________________________________________
press "space" key continuely before you reach the end, and type "yes" to install.
then it will extract itself and generate a new folder"jre1.6.0_17" under /usr/local/java/
the last step is to add enviroment variable
(VI)
tpye
______________________________________________
gedit /etc/profile
______________________________________________
and copy the following words into it
______________________________________________
PATH=$PATH:/usr/local/java/jre1.6.0_17/bin
export JAVA_HOME=/usr/local/java/jre1.6.0_17
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
______________________________________________
save it
(VII)
"restart"
(VIII)
after you have restart
type
___________________________________________
java -version
___________________________________________
if you can see words as following
_________________________________________________________________
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
_________________________________________________________________
it means that you have successfully installed JRE
(3)install Eclipse cdt
(I)extract "eclipse-cpp-galileo-SR1-linux-gtk.tar.gz"
(II)move "eclipse" to "/usr/local"
(III)"cd eclipse"
(IV) "./eclipse",eclipse will run now!
from: http://www.java.com/zh_CN/download/linux_manual.jsp?locale=zh_CN&host=www.java.com:80 select: Linux (自解压文件) 文件大小: 19.9 MB
(2)download Eclipse IDE
from: http://www.eclipse.org/downloads/ select: Eclipse IDE for C/C++ Developers (79 MB)
(3)install JRE
(I)
_______________________________________________
su
_______________________________________________
switch to root
(II)
to make a directory named"java" under /usr/local/, type
_______________________________________________
mkdir /usr/local/java
_______________________________________________
in terminal
(III)
then move "jre-6u17-linux-i586.bin" to /usr/local/java
(IV)
_______________________________________________
chmod a+x jre-6u17-linux-i586.bin
_______________________________________________
(V)
_______________________________________________
./jre-6u17-linux-i586.bin
_______________________________________________
press "space" key continuely before you reach the end, and type "yes" to install.
then it will extract itself and generate a new folder"jre1.6.0_17" under /usr/local/java/
the last step is to add enviroment variable
(VI)
tpye
______________________________________________
gedit /etc/profile
______________________________________________
and copy the following words into it
______________________________________________
PATH=$PATH:/usr/local/java/jre1.6.0_17/bin
export JAVA_HOME=/usr/local/java/jre1.6.0_17
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
______________________________________________
save it
(VII)
"restart"
(VIII)
after you have restart
type
___________________________________________
java -version
___________________________________________
if you can see words as following
_________________________________________________________________
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
_________________________________________________________________
it means that you have successfully installed JRE
(3)install Eclipse cdt
(I)extract "eclipse-cpp-galileo-SR1-linux-gtk.tar.gz"
(II)move "eclipse" to "/usr/local"
(III)"cd eclipse"
(IV) "./eclipse",eclipse will run now!
相关文章推荐
- How To Install Eclipse CDT 8.1 and Get Started
- Eclipse "Unable to install breakpoint due to missing line number attributes..."
- How to install Eclipse JavaScript Development Tools (JSDT)
- how to install maven and svn plugin into eclipse 3.6
- How to Install and Use JRebel with WebLogic and Eclipse
- How To Install Spring IDE In Eclipse
- How to Install Eclipse C/C++ Development Tool--转
- How to Install Eclipse ADT, Android SDK, and setup AVD Emulator
- how to install NOkia SDK of Chinese Version when you meet a Error:"Could not load jvm.dll"
- [旧稿]How To Add Simple "Install WebPart" Menu to the Right Click On a CAB File
- How to Install Eclipse IDE with C/C++ and Qt V4.7.2 (OpenGL included)
- How to install the latest Eclipse in Ubuntu 14+
- Tutorial: How to try C/C++ Tests Runner for Eclipse CDT
- How to Install Eclipse C/C++ Development Tool--转
- Q: How to generate exe install and uninstall file for an eclipse product?
- How to install Eclipse?
- How to fix the problem that the Download rate is too Slow when doing "apt-get install"
- How to config Eclipse CDT with pthread
- how to fix the problem when you install matlab on *nix-- "libXp.so.6 : cannot open "
- How to Install Eclipse Android ADT Bundle Ubuntu 13.10 Saucy