Comentario
Guoxian Zhou 04/10/2008
Eclipse is free software available for Windows as well as Linux. C/C++ applications developed in Eclipse can be easily taken to any otherplatforms very easily. Also as a developer, if you are familiar with Eclipse development environment, switching from Windows to Linux is easy. This instruction will show how to install the CDTplug-in to Eclipse and configure the development environment.
Steps
1. Download and install java runtime environment (Java 5 JRE or later version recommended). You can find it:http://java.sun.com/javase/downloads/index.jsp.
1.1. Download the exe file, and follow the steps to install the JDK and JRE. The default path should be like C:\Program Files\Java\jre1.6.0_04.
1.2.Setup the path: for windows, start -> right click My Computer -> properties -> advanced -> Environment Variables ->Edit the System Path and add the JDK directory to the path. For Linux, add theJDK directory to your path.
1.3. Test your environment by type: java --version and javac --version, you will see the java version you installed. (For windows, you need open Command Prompt fromAll programs -> accessories)
2. Download and extract the latest Eclipse version (currently 3.3.2) to a suitable directory. You can find this in Eclipse website:http://download.eclipse.org/eclipse/downloads/. Download and unzip the driver with pathnames to a folder or directory of your choice such as D:\eclipse.
3. Launch Eclipse. It will launch without any problems if you haveJava runtime environment installed. If you get error message like “A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse…” when you startEclipse, it means Eclipse can’t find a JRE/JDK to use. When you see this message, return to step 1 to install JRE/JDK and setup the path. Following the below steps to add the CDT plug-in.
Regístrate para leer el documento completo.