This page tells you how to download and install Java 8 and Eclipse on Mac OS X, and how to configure Eclipse.
- Java Eclipse Download For Mac
- Eclipse Ide For Java Developers Free Download For Mac
- Java Ee Eclipse Download For Mac
- Eclipse Oxygen Download For Java Mac
Installing Java 8
4) Once the download is done. Go to the download folder, you would find a file named “eclipse-java-mars-2-macosx-cocoa-x8664.tar” (the file name may be different based on the version you download but it should be a tar file starting with word eclipse).
- Go to the Oracle website. You'll see something like this:
- Scroll down until you see a heading beginning 'Java SE 8u65/8u66.' On the right, you'll see a Download button under the JDK header. Click it. The next screen will look like this:Click the radio button next to 'Accept License Agreement' and then click on jdk-8u65-macosx-x64.dmg. You'll be asked whether to save the file that is going to be downloaded; click on Save File.
- Open your Downloads folder, and double-click on jdk-8u65-macosx-x64.dmg. You'll see this window:
- Double-click on the package icon, and follow the instructions to install. When the installation has completed, click on Done. At this point, you may close up the window and drag jdk-8u65-macosx-x64.dmg to the Trash.
Installing Eclipse
- If you already have Eclipse installed on your Mac, you need to get rid of it. To do so, first quit Eclipse if you're currently running it. Then, go to your workspace folder (probably in Documents/workspace) and save anything there that you want to keep, because you're about to get rid of this folder. Next, drag the workspace folder to the Trash.Go to your Applications folder. One way to get there is, from the Finder, type command-shift-A. You'll a folder named eclipse in there; drag the eclipse folder to the Trash. If you have an Eclipse icon in your dock, remove it from the dock.
- Now you're ready to download and install the newest version of Eclipse. Go to this website. You'll see a window like this:Scroll down until you see 'Eclipse IDE for Java Developers' and click where it says 64 bit under Mac OS X.
- You will see this window:Click on the yellow download button. If asked, click on 'Open with Archive Utility (default)' and then click OK. The download might take a few minutes. You should not feel compelled to donate.
- After the download completes, folders should automatically expand. If they don't, double-click on the .tar file. When that's done, you should see a folder named eclipse in your Downloads folder. When you open your Downloads folder, if you see Applications under the Favorites on the left side of the window, you should drag the eclipse folder into Applications. If you don't see Applications, then open a new window for Applications (from the Finder, command-shift-A), and drag the eclipse folder into Applications.
- Open your Applications folder, and then open the eclipse folder. You'll see an item named Eclipse; if you like, drag its icon into the dock so that you'll be able to launch Eclipse easily.
- Launch Eclipse. If you're asked whether you want to open it, of course you do; click Open. You'll see a window like this:It will have your user name rather than mine (scot). Select where you want your workspace to be; I recommend the default of your Documents folder. Click the checkbox for using this location as the default, and then click OK.
- You'll see a window like this:Click on the Workbench arrow in the upper right that I've circled. You shouldn't see this screen again, even if you quit Eclipse and relaunch it.
- You'll get an empty workbench like this:We won't be using the 'Task List' and 'Connect Mylyn' windows. Click the 'x' on each to close it. Press the mouse on the Window menu item, then choose 'Perspective', and finally choose 'Save Perspective as...'. Enter 'cs10' for the name of this perspective and press return. Your workbench will now look like this:You have now installed Eclipse!
- Unable to Launch Eclipse after download and setup: 'The Eclipse executable launcher was unable to locate its companion shared library.' RESOLVED: 406246: zip compression error: RESOLVED: 468598: Mars RC1 Mac packages are damaged: RESOLVED: 535504: Open file feature broken in Photon RC2 EPP packages: RESOLVED: 474204: Include Buildship as part.
- In this handout we will download Eclipse Standard 4.4 for Mac OS. The version you should download is Eclipse IDE for Eclipse Committers. It is critical that Java, Python, and Eclipse are either all 32 Bit or are all 64 Bit (and only if your Machine/OS supports 64 Bit): I think it easiest on Macs to use 64 Bit for everything.
Configuring Eclipse
You don't have to configure Eclipse the way I do, but you'll probably avoid some confusion if you do. Here's how.
- In the Eclipse menu bar, click on the Eclipse menu and then on 'Preferences...'. You'll see a window with two panes. On the left pane is a list of types of things you can configure.
- Click on the triangle to the left of General. Then click on the triangle to the left of Appearance. Then click on 'Colors and Fonts.' You should see a window like this:
- In the window in the middle, click on the triangle next to Java. Then double-click on 'Java Editor Text Font':
- You'll see this window:On the right, where you can select the size, click 12. Then close this window by clicking on the window's close button.
- Close up the General preferences by clicking on the triangle to the left of General. Click the triangle next to Java and then click the triangle next to 'Code Style.' Then click Formatter. Here's what you should see:
- Click the button that says 'New...'. You'll see a window such as this one:You can type in any profile name you like. I used 'CS 10':Click OK.
- You should see a window like this:Change the tab size to 2:You'll see that the indentation size automatically changes as well.
- Click on 'Blank Lines,' and after 'Between import groups' and 'Before declarations of the same kind,' change the values 1 to 0:
- Click on 'Control Statements,' and check the first four boxes as I've done here:Click OK.
- Now click on triangles to close up Java. Click on the triangle next to Run/Debug, and then click on Console:
- Click on the green color sample next to 'Standard In text color.' You'll get a color picker:
- Slide the slider on the right down, so that you get a dark green. (You're at Dartmouth. What other color could you possibly want?)Close the color picker window by clicking its close button, and click OK again to close the Preferences window.
And you're done!
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 Eclipse Download For Mac
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:
2 | Java(TM)SE Runtime Environment(build1.6.0_29-b11-402-11M3527) Java HotSpot(TM)64-Bit Server VM(build20.4-b02-402,mixed mode) |
Install Java 1.7 MACs
If you don’t have Java 1.6 installed for Mac go here to get it. You can get a preview release of Java 1.7 for Mac here.
Here are the instructions on how to install it from Oracle:
- Manually create a JavaVirtualMachines directory under /Library/Java if it does not exist already:
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.
Eclipse Ide For Java Developers Free Download For Mac
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.
Java Ee Eclipse Download For Mac
- 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 - thanks, bro would u please help us to know about visual basic programming?
- is it possible to make a chat application with php ?
- I don’t know which version of Eclipse to download. There are many. Which one are you using?
- Why when I goto … File> new I get ?
Thanks for a responce. - 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 showsI cant assume i have done anything wrong because I just installed it and have not messed with anything.Should have posted here…thanks,
Matt - 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.
- 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. - 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