Download How to Download and Use Eclipse on a Mac

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
How to Download and Use Eclipse on a Mac
(assuming that you have Mac OSX or later)
Kindly written by Regis Computer Science student Byron Schwab
1) Go to the web site: http://www.eclipse.org/downloads/index.php
2) Choose A Server and download the latest released version.
3) Download the platform for Mac OSX, click on the http download (may take
between 5 and 30 minutes). Preferably download it to your desktop.
4) Un-stuff your downloaded folder by simply clicking on it. I suggest using the
program “stuffit” to do this. You can download the program on the internet for
free.
5) The result should be two files on your desktop, the stuffed and the un-stuffed.
6) Open the folder entitled “eclipse” and open the program called eclipse. It will ask
you to create a workspace, the default one it selects is what I would suggest.
Click ok.
7) If you are a first time user go a head and click on the Tutorials button, but to
actually begin programming click on the workbench button.
8) To start new project go to the File in the tool bar, and select New then select
Project. Select Java Project. You will get to the following screen:
Then:
9) Enter whatever you would like in the project name slot and then click finish.
Make sure that under the Location “Create project in workspace” has been
selected, and under the Project layout “Use project folder as root for all sources
and class files” has been selected. Click Finish.
10) If a box pops up to confirm a Perspective Switch click the box that says
„Remember my decision” and then click Yes.
11) Now go the File on the tool bar once more, click New, this time select Class.
12) In the following window the only thing that you need to enter is a title for the
class. i.e., In the name section enter a descriptive name of whatever your class is
going to create. Then click Finish. (As you get more advanced you may find that
you would like to use other options, but as a beginner, I would avoid editing any
other fields.)
13) You should now see:
14) You can now write code in the window.
15) To run/compile your program you must go to Run, select Run As, then select Java
Application. It will ask you to save your program before it runs if you have made
any changes sense the last time you have saved your program. Go ahead and save
your program, and then it will run/compile.
Extras:
1) To pass in a path of a file on your Mac use this as a model:
/School Things/Regis University/Freshman Year/2ndSemester/English/The
Cookie.doc
You do not need to reference a drive or the user, simply start with the folder. If for
some reason that will not work, you may want to try /Users/yourusername/School
Things/Regis University/Freshman Year/2ndSemester /English/The Cookie.doc
Entering spaces as they are in the folder‟s and file‟s name.
2) You do not need to download anything else to program, all of the java language is
already on your mac, therefore there is no need to go to the Sun Microsystems page
and download any of the java files they offer.
By: Byron Schwab