Results 1 to 4 of 4

Thread: How to Configure Eclipse on Mac & Windows

  1. #1
    Join Date
    Mar 2005
    Location
    Portland, OR
    Posts
    523

    How to Configure Eclipse on Mac & Windows

    Eclipse is an IDE (Integrated Development Environment: Integrated Development Environment) built at once very simple and very powerful. Originally, it was an IBM project

    then passed under open-source license. It is a Java application based rather oriented development in Java. But his great strength and accept plug-ins to suit all languages

    and all situations. It may particularly be used for C development tools dedicated to programming in C / C + +. Associated couple pilrc / PRC-Tools, Eclipse allows to build a fully functional development environment, easy to use and to totally free!

    Eclipse Installation
    • Make sure you have C compilers.
    • Download the software for the Eclipse C / C + +. Unzip the downloaded file.
    • Enter the directory generally called the eclipse) and open the file
    • Choose the configuration options by default
    • Go to the File menu > New Project C. Save it.
    • Go to the File menu and choose New Source File
    • Choose the source file name that ends up under C and use the Empty as a template. Being your first program

    For MAC

    Steps :
    • First install Eclipse. Once Eclipse is installed by simply dragging and dropping from the archive, you have to download the plug-in C in order to benefit including an editor tailored to the C language syntax, various search functions, completion and Semi-automatic indexing. This happens directly from the extension manager of Eclipse:
    • Open the application and select the menu Help / Software Update / Find And Install.
    • In the wizard that opens, click Search for new features to install.
    • Then enter the site where to download the plug-in.
    • Check to include sites in CDT in search then Next
    • In search results, then select the pug-in: Eclipse C / C + + - Development Tools
    • The next screen shows the license. Once validated, you go to the last screen that lets you choose the destination application. Leave Eclipse by default, click Finish and the download starts.
    • At the end of the download, restart Eclipse to save the plug-in and that's it. You are ready to use the environment to develop your programs.

    Language Support

    You can locate the interface and help files of Eclipse in different lanaguage. Indeed, IBM continues to use Eclipse and adapt for its own needs. In this context, they developed language packs they also donated to the Open Source community. You can download the file and then simply copy the contents of those records in those of the same name of your Eclipse folder, restart and that's all.

    Pilrc and PRC-Tools

    If you feel the courage and ability, you can download sources and compile yourself. For PRC-Tools and pilrc are on sourceforge. Here, there is nothing to compile the necessary libraries but impossible to compile any program. You can also download a package that already includes everything you need. SDK pilrc, PRC-Tools: everything is already compiled and included with the installer, the development poses no concern. For information: The SDK files are installed in a hidden directory: / opt / palmdev and all binaries are found in usr / local / bin.

    Creating and managing projects


    By clicking on File / New / Project appears a list with predefined project templates, dependent plug-ins and options installed on Eclipse. Including shots show two models made by the plug-in "C Development Tools: Managed Make C / C + + Make Project and Standard C / C + + Project. For Standard Make Project, it is you who create the Makefile, so that with a project managed, it automatically generates the Eclipse. Unfortunately, these two models are well suited for developing programs for desktop platform. For what interests us, we will thus create a Simple Project.

    On the next screen, you choose the name of your project and its location. You can create in the workspace default Eclipse or any other path you specify. If you specify the path to a folder is not empty, the files will be automatically picked up by Eclipse. Click Finish to generate your new project. At any time, you can import other files into your project via File / Import. Similarly, you can open other files not belonging to a project using File / Open External File.

    You can choose the appropriate perspective to your project in the menu Window / Open Perspective, which contain particular C / C + + for a project in C. If the basic options do not suit you, you can also customize the view via Window / Customize Intentions. You can finally put in the foreground the view that interests you via Window / Show. In view C / C + +, the publisher is in the middle of the screen. It automatically provides syntax highlighting and code completion: Type the first letters then press "command - space" and the editor automatically offers a list of matching models. You can edit this list in the preferences of Eclipse via Window / Preferences.

    As for C code, the editor of Makefiles also offers syntax highlighting. To help you, you also have the right to an Outline. It displays a dynamic tree structure consisting of key elements of the file: functions, variables, targets, rules, etc. For faster navigation, click in the Outline view displays the corresponding line directly in the editor

    Compilation

    This step is actually very simple because a classic run by Makefile. Except that as we have seen above, Eclipse has its own Makefile editor and most importantly, the process can be started directly from Ecplise. No need to run any commands from the terminal. You still need to know Eclipse does not recognize the same path as the system shell. In other words, it will indicate the full path of the utilities that are brought out in the Makefile (/ usr / local / bin, as previously reported).

    Makefile must also include a rule whereby all Eclipse will rebuild the entire project. These two points taken into account, just as the project file has a Makefile. Menu Project / Build All command make all the launches and Project / Clean launches a make clean. The results are displayed on the console of Eclipse.

  2. #2
    Join Date
    Mar 2005
    Location
    Portland, OR
    Posts
    523

    Re: How to Configure Eclipse on Mac & Windows

    For Windows

    Since most Windows devices do not have Java installed, we must first of the current package of the Java Runtime Envrionement (JRE) version 6.14 on the Sun Web site to download. Users of Mac OS X are in Java advantage. Since this operating system, Java has built in, just need the software update will be called to get the latest version. The next package, which we need is Eclipse. This we find in the website of the Eclipse Foundation . At the very end of the website you can find the version of Eclipse Classic 3.5.0 also called Galileo. Right we find a link for Windows systems and is directly under-the link for the Apple operating system.

    Setup

    Here we begin with the installation of Java. This we call the package to install the JRE with a double click. Windows 7 and Vista show before the actual installation nor a warning that the installation software will make changes to the operating system. This is to confirm with the button Yes. Then the welcome page for the installation of Java will be displayed. Since we are here for all three Windows systems can be equal to the target folder, let's click on the Install button. Now it takes a few minutes, is performed to complete the installation. In the end, shows the setup program nor the success of the installation. This window, we can confirm with the Close button.

    Now you can proceed with the installation of Eclipse. After unpacking the installation file, we get a list of Eclipse. This move us in the Applications folder on Mac OS X or in the program folder in the Windows systems. Thus, the basic installation of the IDE is complete. Of course it makes sense that we are a shortcut on the desktop, or sign up for the Quick Launch toolbar, or from Apple in the Dock.

    The next step is the adaptation of language. Eclipse is the base installation available in English. To obtain a German-language version, we now extract the Babel language pack. This includes an almost complete translation of Eclipse. After unpacking, we will create a directory eclipse / with two subfolders. These two folders must now be moved. We open the folder is installed in the Eclipse. He found the program folder of the operating system. There exists a subdirectory dropin /, in which we receive the content - the two directories features / and plugins / - the language pack to move.

    Now you can start by double clicking on the icon of Eclipse, the development environment. Shortly after you can see the window for the workspace in front of us. Here we are asked to specify the path to the workspace. This is the directory where all files are stored. Ideally, we put it in its operations to the directory websites in the sidebar or on a separate directory / eclipse on the desktop.

    Click on the button Browse, then select that site from the sidebar and confirm this with the Open button. If we select this value as the default and not use the reconsideration request, activate the next time we will not ask for the workspace. Now click on OK and Eclipse starts final.

    Plusgins Setup

    Because Eclipse is in the basic installation, a development environment for Java, we need to adjust now so that we get an IDE for Web development.

    Aptana Studio : This can your firt choise. You can use the version 1.5 of Aptana, Inc. This software is available free of charge, but should be installed directly over an Internet connection. You can open the Help menu and click the command Install New Software. Register and then connect to Internet. Once the development environment is started again, we get the hint that you can install additional components. For this we need the check box next to Aptana PHP in web application platforms and in the area Ajax libraries support packages for jQuery, Prototype and Scriptaculous activate. We start with the Install button to install this add-on packages.

    Even with these enhancements, the software checks the availability of Eclipse and shows us in another window. Here we activate the options Ajax frameworks and PHP plugin builds and continue clicking the Next button to continue. Now the data packets are retrieved from the Internet and displayed in a window in detail. This window is to confirm with the button Next. Again, we confirm the license agreement. This window is to confirm with Finish and wait for the complete installation from the end. After this round we will be prompted to restart Eclipse of what we Click on the button Yes to perform with.

  3. #3
    Join Date
    Apr 2009
    Posts
    488

    Re: How to Configure Eclipse on Mac & Windows

    Eclipse offers a menu run from which you can set the launch of virtually any utility. But the output of these utilities can be made only to the console of Eclipse, which effectively eliminates all graphics applications, etc. Eclipse is written in Java, the move forced by a virtual machine inevitably adds to its performance relative to a tool written in native code. For the creation of Web sites or application, you need a working development environment to work with PHP, HTML and CSS can be. There are many different applications on the market, which all have their advantages and disadvantages in the development of software or Web sites. Eclipse has proven to be very good solution for that.

  4. #4
    Join Date
    Apr 2009
    Posts
    569

    Re: How to Configure Eclipse on Mac & Windows

    It is a freely available integrated development environment (IDE), which is programmed based on the Java language. Since it through the different plug-ins can be adjusted, it is suitable for almost any programming language. By using Java it can run on any operating system and thus the appearance of the IDE does not even from system to system. One disadvantage about that is that the development environment. You cannot graphically creation sites but, instead must deal with HTML and CSS. For the integrated IDE, installed in the system browser as a separate preview window for the created sites.

Similar Threads

  1. Fat Jar Eclipse problems
    By Ekavali in forum Software Development
    Replies: 3
    Last Post: 26-11-2010, 04:50 AM
  2. Need Help with Eclipse mp4 player
    By Shotgunn95 in forum Technology & Internet
    Replies: 1
    Last Post: 16-04-2010, 09:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,841,382.71680 seconds with 17 queries