Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Once you have checked your version of Java on Mac OS X, you are ready to install Eclipse, the IDE I'll be using throughout this course. Go to the webpage, www.eclipse.org/downloads. You'll see a number of distributions of Eclipse are listed. There is the one at the top for Java Developers, that's the one I'll be using, but there are many others available. You'll need to install the version of Eclipse for your copy of Mac OS X, either 32 or 64-bit. If you are not sure which version of Mac you're using, go to the Apple Menu and choose About This Mac.
On this dialog, click on More Info. That opens the System Profiler Application. Now, scroll down in the left hand panel and click on Software. Check the Property 64-bit Kernel and Extensions. If it says Yes, then you're running 64-bit Mac. If it says No, then you're running 32- bit Mac, and that's the version of Eclipse you'll want to download. I'll click into Mac OS X 64-bit. The file is delivered to you as a compressed archive, with the file extension of tar.gz.
Now, I've already downloaded that file to my Desktop, and to install Eclipse there are just two steps. First, extract the file. If you don't have any special archive utilities installed on your system, you can extract this file simply by double clicking it. Mac will unarchive the file and place the resulting folder on your Desktop. The name of the resulting folder is simply eclipse. I'll double click into the folder and show you that it contains the Eclipse application, that's the version that has an uppercase initial character, and the graphic, and all of Eclipse's supporting files.
Now, technically, you've already installed the application and you could start using it, but I prefer to put Eclipse where all of the other applications are on my Mac, in the Applications folder. So I'll click on the background and then press Command+N, that opens a new Finder window, and I'll see that Applications is here in my Sidebar. If you don't see Applications in your Sidebar, just open up that folder. Then, I'll click on the Eclipse folder and drag and drop it on to the Applications folder. Then to get to Eclipse, I'll go to Applications, I'll scroll down to the Es, there it is, I'll click the eclipse folder, and then double click the Eclipse application.
If I am prompted to make sure I want to open a downloaded application, I'll click Open. When Eclipse opens for the first time, it will ask you where it wants to put something called a workspace. I'll describe how workspaces work later, but for now, just accept the default, which will be Documents/workspace under your Home folder, and click OK. It will take a few more moments for Eclipse to load up all of its tools and then it will open to this Welcome Screen. Close the Welcome Screen and you'll be in the Java Development Environment.
If you have gotten this far, you are ready to start writing code in Java. And in the next chapter, I'll show you how to write a Hello World application and show you what basic Java syntax looks like.
Get unlimited access to all courses for just $25/month.Become a member
61 Video lessons · 96793 Viewers
56 Video lessons · 110494 Viewers
71 Video lessons · 79330 Viewers
131 Video lessons · 38050 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.