In this video you will learn how to install and setup the Eclipse IDE. This software will be used as the programming environment throughout the series.
Hello everyone, I am Mr. Programming - once known as
Canownueasy. This video will inform iyou how to set up a new
Java project in the Eclipse IDE.
First of all, open the IDE as I have done. Next, click
on "File" then go to "New" and select "Java project".
Next, enter your project name. It should describe what
you are going to be making.
If I were going to make an addition machine I could
call it "Auto Addition" or another title relatively close.
In the contents groupbox, you have the option to
create the project in the workspace or from an existing source.
Creating a project in the workspace will generate a
standard Eclipse format of folders and files. In this format,
"bin" will hold your compiled source code. "src" will hold
your actual source code and the folders that package them.
Creating a proejct from an existing source will allow
you to continue an already existing project. If required
Eclipse files such as the project's classpaths and project
information as missing, Eclipse will generate them for you.
The JRE groupbox holds which execution environment
your project will use. I'd leave it on JavaSE-1.6 as this is
the standard Java virtual machine as of the release of Java 1.6.
This groupbox also gives you the option to use a project
specific JRE. This is mainly used to debug projects as you will
be using the Java Development Kit to run your project.
The next groupbox is your project layout. You can either
use one folder to store all of your files or you can create
seperate folders for sources and class files.
Using the project folder as a root for sources and
class files is common for projects with a small number of files.
Projects with many files can confuse developers.
It's best to have seperation between your files.
I won't get into the groupbox working sets until
another tutorial as it is an advanced feature.
Now you can hit finish and Eclipse will set up
your project.
For captions of this tutorial,
see the video description.
Ещё видео!