Configuring the Eclipse java/c++ Development environment under MAC systems

Source: Internet
Author: User

The steps are as follows:

1. Mac OS X itself is already installed JDK, so it is very simple to build the Java eclipse environment, only need to download the appropriate eclipse for the system, first look at the system is several (click the Apple Logo in the upper left corner of the Mac screen, select "About this computer", in the pop-up square window click " More info ... "button, then click on the" System report ... "button, and in the" Software "section you can see whether your Mac OS X system is turning on 64-bit arithmetic. )

2. Download Eclipse (required for both Java and C + +)http://www.eclipse.org/downloads/

3. Install the GCC compiler XCode (ready for Eclipse Java integrated C + +).
The way to determine if the GCC compiler is installed in the system is to open a terminal window (in the Utilities folder), enter the command g++, and no output commands not found, if installed then output not input files. Xcode is available on the Mac computer's random installation CD, the latest version can be downloaded on the Apple website (http://developer.apple.com/technologies/xcode.html), but you need to register an apple Developer your account number before you can download it. Follow the setup procedure to install it. After installation, open the xcode,preferences inside there is a downloads inside there is a components option, there is a command line tools installed on it

4. Eclipse consolidates Java and C/C + +

Unzip the two version of Eclipse that you just downloaded (note in a different place, prevent it from being overwritten by the same file name), and then copy all the contents of the plugins folder inside the C + + version of Eclipse and paste it into the Java version of Eclipse Inside the plugins folder below ( Note: Can not overwrite the existing files or folders ), OK tools are ready, now left to test!!!


5. Create a Java project first

6. Create a C + + project

7. Compile and run the program ( You must compile project-to- Build project first )

Configuring the Eclipse java/c++ Development environment under MAC systems

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.