How To Download Eclipse For Java On Mac

  1. Download Eclipse For Java Programming
  2. Eclipse Ide For Java Developers

To install eclipse on our MacOS, we must download the latest version of eclipse by visiting its official website or simply clicking the link http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/oxygen/1a/eclipse-java-oxygen-1a-macosx-cocoa-x8664.dmg. Download the Eclipse Installer. Eclipse is hosted on many mirrors around the world.

Download Eclipse For Java Programming

Posted by Derek Banas on Dec 13, 2011 in Web Design | 20 comments

I’m beginning a new Java tutorial using Eclipse as my IDE. Every time I have used Eclipse in the past there have been installation problems so, I’ll try to fix that issue here.

I use Eclipse because in my opinion it is the best free IDE available.

Also note that I’ll provide Java 1.7 installation steps for PCs, but Java 1.6 & 1.7 steps for MACs. The reason why I’m doing that is because Java 1.7 isn’t quite ready yet for Eclipse on MACs.

Don’t worry, there isn’t that much of a difference between Java 1.6 and 1.7. At least for a beginner tutorial.

Checking Your Version of Java

Java 1.6 has been around since December 2006, so chances are you already have it installed on your computer. To find out type the following in either your Terminal (MACs), or Command Line (PCs) java -version

When you do you’ll probably see the following:

  • Download the Oracle JDK7 Mac OS X Port DMG file
  • Open the DMG file by double clicking on it
  • Drag the JDK 1.7.0 Developer Preview icon to the JavaVirtualMachine icon
  • Install Eclipse Java 1.6 & 1.7 for Macs
    Now that you have Java setup on your Mac, it is time to set up Eclipse. Go here to download the Eclipse IDE for Java Developers.
    After you install Eclipse you have to set it up to work with Java.
    • Execute Eclipse and then click on Elipse and Preferences in the top menu
    • Expand the list item named Java and click Installed JREs
    • Click the Add… button
    • Java 1.6 should be set as the default
    • If not select Standard VM in the JRE Popup Window
    • Type /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home into JRE home
    • Type Java1.6 as the name
    • Click Finish
    Do the same for Java 1.7, except leave 1.6 as the default and also instead enter Java1.7 for the name and the following for the JRE home /Library/Java/JavaVirtualMachines/JDK 1.7.0 Developer Preview.jdk/Contents/Home
    You’re done and ready to use Java 1.6 & 1.7 in Eclipse
    For PCs go here to download Java 1.7 unless you already have it installed. Make sure you download the JDK and not the JDE. Find the Java executable you just downloaded and double click it. Follow the prompts to install it.
    The Java files will be located at C:Program FilesJavajdk1.7.0 after installation.
    To get Eclipse to work on PCs is nearly identical to the MAC installation. Go here to download the Eclipse IDE for Java Developers.
    After you install Eclipse you have to set it up to work with Java.
    • Execute Eclipse and then click on Windows and Preferences in the top menu
    • Expand the list item named Java and click the Compiler option (Don’t Expand it)
    • Check if Compiler Compliance Level is set to 1.7
    • If it isn’t change it to 1.7 in the dropdown
    • Click on Installed JREs and if you see jre6 as checked you’re done
    • If jre6 isn’t checked click the Add… button
    • Select Standard VM in the JRE Popup Window
    • Under Directory select the home directory for JRE 1.7 (See Above)
    • Click Finish
    To set up code completion for Java 1.7 in Eclipse just open your preferences folder, click on Compiler, and set Compiler Compliance Level to 1.7. This currently isn’t working for MACs, but should work soon. If you have a PC this will work. See image below to better understand the change.
    That’s All Folks
    I hope this tutorial helps you to easily install Eclipse, so you can use it to learn java. Leave any questions below.
    1. That’s perfect to me. it coudn’t be better because i was wondering witch application language i have to learn to make somme counting applications. i found that java was the perfect language and quiet frankly i was going to ask you witch to help me choise betwen android and java or purpose to me another language to made some pc applications.
      i am a lucky gay derek to know you.
      sometimes it is enough that I think of something for you to give me the answer. i am in.
      thank you very mutch derk

    2. thanks, bro would u please help us to know about visual basic programming?

    3. is it possible to make a chat application with php ?

    4. I don’t know which version of Eclipse to download. There are many. Which one are you using?

    5. Why when I goto … File> new I get ?
      Thanks for a responce.

    6. Sorry… even entering comments produces errors…

      I recently downloaded Eclipse ee for java developers. I am only using 1.6. I dont see a need to hassle with 1.7 due to my newness of programming.

      When I go to… File>New, the list is blank and shows

      I cant assume i have done anything wrong because I just installed it and have not messed with anything.

      Should have posted here…

      thanks,
      Matt

    7. May I please request your kind help with installing Eclipse on Ubuntu 12.10 32-bit. I resorted to a Linux distro because my PC repeatedly chrashed under Windows XP Home Edition. I am most grateful for your kind help and advice.

    8. Thank you very much for your most kind help with the Eclipse download. Your instructions have worked well giving me the much needed chance to put in some practise. I am practising with your very helpful code from Tutorials 1, 2, and 3. Sometimes Eclipse detects dead code, though it compiles and runs as expected. Thank you once again for your highly considerate Java Tutorials anlong with your continual help.
      Good wishes to you and best regards, too.

    9. Hi Derek, First of all thanks a lot for all the great Videos and articles, Your explanations are crisp, clear and to the point.. Keep doing the great work.. Now my question is – I’m an professional .NET developer and planning to do some unofficial projects in JAVA, Android and IOS. Am also planning to make a switch from PC to MAC for my JAVA projects, Am planning to buy a MAC Book Pro, since i’m new to MAC i feel difficult to settle into MAC configuraiton..What do you think is the ideal configuration for a Developers MAC Book pro? Eventually i may also start using it for professional and consultation purpose

    Leave a Reply

    CSCI 1301

    Installing Java Standard Edition 8
    Eclipse Installation

    You have access to lab machines that have these tools (or similar ones) installed, but many of you may want to install it on your own machines. These instructions are for those running Windows. Typically, Mac are supplied with a pre-installed version of Java; so if you have a Mac, you'll need to make sure that your machine has Java SE 8 pre-installed.

    Eclipse Ide For Java Developers

    Installing Java Standard Edition 8

    In order to compile and run your Java programs, the Java SE Development Kit (JDK) must be available on your computer. If a recent version (i.e.: Java 8) is not already on your computer, you will need to download it from the Oracle site and install it. Please follow these steps.

    How To Download Eclipse For Java On Mac
    • If you have previous installs of Java's JREs or JDKs, uninstall them using Windows Add/Remove Programs.
    • Determine whether your computer is running the 32-bit version or the 64-bit version of the Operating System as follows:
      • Windows Vista: Click onStart>Control Panel>System and Maintenance >System
      • Windows 7: Click on Start>Control Panel/System and Security/System/View Amount of RAM and processor speed
      Search for System type to determine if your computer isrunning either the 64-bit or the 32-bit version of Windows.
    • Once that has been determined, select the appropriate version of the JDK to download from Oracle. Select Windows x64, if your computer is running the 64-bit version, and Windows x86 (i586) for the 32-bit version.
    • Once you have downloaded the file, run the executable. The install should progress like most program installs. You need to remember where it installs the SDK. In Windows, this is typically C:Program FilesJavajdk1.7.0_05 (the numbers will vary, depending on which update is downloaded).

    Setting the PATH Environment Variable

    Now you are ready to adjust some system settings so that Windows knows where to look when you try to use the java compiler as well as the run time environment. To accomplish this in Windows, you modify an'environment variable' called 'PATH'.

    Windows 7
    • To set the path permanently, choose Start>Control Panel>System and Security>System>Advanced System Settings. Windows 7 may prompt you for an admin password or pop up a warning window. Enter the admin password and click OK. You will have access to the System Properties Settings.
    • Click on the Advanced Tab
    • Click on the Environment Variables button. Look for 'path' in the system variables. and click on the Edit button.
    • Click on the Variable value textbox, move to the end of the path, and type a semicolon followed byC:Program Filesjavajdk1.7.0_05bin (note: if you downloaded a different version of Java JDK or installed it in a different location, then you'll need to input the correct path to Java's bin folder so Windows can locate the installed Java programs). Be careful not to erase the other information in the PATH variable.
    • Finally click OK.
    Windows Vista
    • To set the path permanently, choose Start>Control Panel>System and Maintenance >System Properties. Vista may prompt you for an admin password or pop up a warning window. Enter the admin password and click OK. You will have access to the System Properties Settings.
    • Select the Advanced System Settings, click on the Advanced tab and then on the Environment Variablesbutton.
    • Look for 'PATH' in the system variables. and click on the Edit button.
    • Click on the Variable value textbox, move to the end of the path, and type a semicolon followed by C:Program Filesjavajdk1.7.0_05bin (note: if you downloaded a different version of Java JDK or installed it in a different location, then you'll need to input the correct path to Java's bin folder so Windows can locate the installed Java programs). Be careful not to erase the other information in the PATH variable.
    • Finally click OK

    Now, we should test to see if it was installed correctly. In Windows, you'll want to run the cmd command or find the Command Prompt option in Accessories. Run the following command:

    > javac -version
    javac 1.7.0_05

    > java -version
    java version '1.7.0_05'
    Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

    Eclipse for java developers

    If you see similar output for the two commands shown above (the numbers should match the version you just installed), then you have installed Java correctly.

    You should be able to use the programs located in the bin (binary) folder of your Java folder in order to compile and run your Java programs. You can do this in two ways through the use of a basic text editor and the command line or by using an Integrated Development Environment (IDE). First we show how to do it the old fashioned way before we move on to the IDE approach.

    [Top]

    Eclipse Installation

    Windows:

    • Clickhere to redirect your browser to theEclipse download page.
    • Select your platform from the drop-down list.
    • Download the version of Eclipse Standard 4.3.that is more appropriate for your computer:
      • Select Windows 32 Bit, if your computer is running the 32-bit version ofWindows.
      • Select Windows 64 Bit, if your computer is running the 64-bit version ofWindows.
    • Save the zip file to your computer.
    • Click on the zip file to open it up.
    • Click on the folder named eclipse
    • Double click on eclipsec.exe and click on the Extract All button toextract all the files into the folder where you want to install Eclipse.
    • Click on the Next button to proceed.
    • Then, click on the Browse button to select the folder in which you wantto install Eclipse or accept the suggested installation folder. Click on the Next button to complete the installation.
    • You may want to create an shortcut on your desktop to launch Eclipse easily.

    Mac OS X:

    • Clickhere to redirect your browser to theEclipse download page. Download the version of EclipseStandard 4.3 that is more appropriate for your computer.
    • Select your platform from the drop-down list.
    • When the download is complete, unzip the archive into the appropriatefolder.
      Your installation is now complete.
    • After finishing the download, you may be prompted with a warning that thefile may contain an application. Ignore this warning and continue by clicking'Download'. The Mac will then decompress the downloaded file automatically. Ifit does not, then just double-click on the downloaded file (whose name ends with'.gz'). You should now have a folder named 'eclipse' on your desktop.
    • Now, you need to move the eclipse folder to your Applications directory.Double-click on your hard drive, and within that, double click on the'Applications' folder. Drag your eclipse folder from the Desktop into thisfolder.
    • Inside your eclipse folder is an Eclipse application; its icon is a purplecircle with three white stripes.
    • Click the Eclipse icon to launch the IDE.

    [Top]

    §