They will learn to which will help us create our amazing applications.
I am talking about integrated development environment.
Beside that, according to our agenda for today, we will learn what are most popular ideas for development
of Java based applications will download Eclipse and we'll learn how to configure it.
So what is integrated development environment?
IDE is a software application that provides comprehensive facilities to computer programmers for software
development, and they normally consist of at least a source code editor built automation tools and
at the bargain, some ideas such as not being technically contained.
The necessary compiler integrated development environments are designed to maximize programmer productivity,
reduce and set up time can increase developer productivity, especially in cases where learning to use
the idea is faster than manually integrating and learning all of the individual tools.
The most popular ideas for Java development are Eclipse Intelligent Idea, not beans and Androids to
live for Android projects.
I've worked a lot with each of these, to be honest.
I can conclude that that's similar.
The only difference is the way how to configure your project.
The same buttons located in different places.
That would be my short answer.
But still, my preferred option would be Eclipse for Java Enterprise Edition developers.
Why?
There are a few reasons.
Some of them, it is completely free of charge, the same as that means you can find that idea.
Community version is also free of charge.
But later during the course you will notice that in communications there is a lack of support of Java
Enterprise Edition and you would need either to buy license version of a year so-called AUTOMATE edition
or looking for some workarounds.
If you're a student, you can get ultimata, edition license free of charge.
But again, it's free only for educational purposes, but not for commercial use.
In many companies.
Eclipse isn't standard software package for Java software engineers because it's powerful for creation
of any kind of applications and it's free, huge community in the Internet.
You will find a lot of support.
How to deal with different configuration issues in case you have them in your project while working
with Eclipse.
You can easily extend your idea was extensions and plug ins, for example, you can add plugin which
will check your code style, you can add plug in to test your passcode coverage.
You cannot plug in, which will allow you to style icons, background and fonts in the eclipse.
And much more Eclipse has tools to work with Java for Enterprise.
This will come in handy later in this training program.
Now lets together download and install Eclipse on your computer.
We will configure your workspace and we'll create Hello World Java project in Eclipse and you will see
how it makes our life easier.
Let's make a Google search like this.
Eclipse for Java Developers Download.
Click on the first link.
Here's a warning message which tell us that this is not the latest package.
Let's take a look at the newest version.
And here it is, the motorcade for Windows Linux on Mac.
President Lord Martin.
When we have downloaded the clips, extract old files wherever you want on your computer.
Now start the clips.
When you start the clips, you are asked to indicate a workspace directly, the workspace is a directory
on the desk where the eclipse platform and all the installed plug ins or preferences, configurations
and temporary information, subsequent clips and locations will use the storage to restore the previous
state.
Each time you start Eclipse, you can create a new workspace directory or indicate an existing one.
You can create many workspaces, each one dedicated to some activity.
For example, I want to create a workspace dedicated to this training course here.
Let me call it your Nike fundamentals.
Let's press the launch button now.
Let's make it full screen.
Here is a welcome page.
Let's get directly to the park bench, just press here and here is your workspace.
It comprises different objects and views.
You can configure your workspace as you wish.
You can move all these widgets anywhere.
Let's leave it here.
Here you can choose your perspective and the global perspective is the name given to an initial collection
and arrangements of use.
And then editor area, for example, take a look at current perspective is look like let's also press
file new.
Can you see this list?
It contains MAVEN Project, Dynamic Web Project, IGB Project, etc..
Now let's open another perspective.
Let's hope and not Joe Enterprise Edition, but Java perspective.
Here it is open, you see that the set of digits is different now.
Let's open again, file new, and here we see a different list with Java project on top of it in Eclipse,
you have multiple perspective and you can switch between them easily here.
You have separate perspective for the bargain for database development, etc..
Here's your Project Explorer view here, you'll find hierarchical representation of your projects and
source code in case you lost some, you would like to open a new one, just press window.
Shoyu.
Other here, you can find all available views, which you can add to your workspace.
Now let's create our Hello World Java project.
You can click is a here or go to file new Java project.
Let's go over project configurations here.
Type any project name you would like.
I will type learn I.T. fundamentals.
Reached Java runtime environment you would like to use, you can select one of the predefined options
in the clips, I would select the ones which are already installed on my computer.
We can click finish.
But for the sake of the interests, let's click next to learn what other configurations available for
us.
Here you can see many other configurations, for example, SAAC would be considered as your source folder,
a source folder is a pass which is marked by clip's as containing Java sources which are needed to be
compiled.
You can also see that you can configure default output folder where all files with class extension will
be stored in the library.
STAP you can add additional external libraries, but we don't need them now.
We will cover this part of configuration deeper later in this course.
Let's just click finish now.
Eclipse will ask us how we want to name our module Java Modules is a new feature which represented the
first time in Java nine where the Java platform module system and Java module is a mechanism to package
up your job application and Java packages into Java modules.
A Java module can specify which of Java packages it contains that should be visible to other Java modules
using these module.
But with respect to our agenda for today, I suggest to come back to modules a bit later.
Just click on create.
Your project is created now and you'll remember that you need to create a class, so let's create it
now.
Let's expand your project.
Do right.
Click on the SSD source folder.
New Class.
Name of the class.
Hello, girls.
It has public modifier objects, always superclass of each type in Jawa.
We'll discuss this on all be topic.
We can also create a step of the main method.
Just check this checkbox and the last, but not the least configuration package name package in Java
is a mechanism to encapsulate a group of classes, sub packages and interfaces.
Packages are used for preventing name and conflicts.
Potentially, your application might have user class and the library which they're using in your application,
might also contain user class.
How we can say that your user and user from external library are different classes and we need to use
user from external library.
The full name of the class consist of package name plus class name, for example.
Com dot Barek.
Hello.
World will be one class.
Comb, dot, Google, hello, world will be completely different class, that's why for the package
names reverse order of the main name is used my domain name because it's unique.
Also packages I use for making search and locating and usage of classes, interfaces, enumerations
and annotations easier later will learn that we can restrict access from different packages to the classes.
Inside are the packages.
Let's create package following with this bottom comb I Tibbles and your last name and press finish Pathum.
You see a package declaration goes on top of the file here during the course, we'll run with you hotkeys,
for example, control class will delete the line.
Let's press control to remove this single line to the common.
Eclipse has other suggestion support, what a subtle suggestion, let's start typing here, System C.
Press controlled glass space, now you see this dropdown list eclipses trying to guess what you would
like to type here, select type which you need from the least press center type dot.
And again, at a suggestion I will go with out here, press center dot start typing print.
And here is our method.
That's right, string literal here.
Hello, world.
Asterisk near the file name means the file is not safe birth control plus s to save the file.
You can run your program in different ways, first option for you is mouse right click run s Java application.
The second option is to find this icon here and again, run s Java application.
And the third option is Hotkey Control Class F 11.
Let's run our program now.
And here we have output.
Hello, world, congratulations.
One more trick for out.
You can use something like this, just type this out and press controlled space.
You get system out into then and now.
Let's recap what we have learned today after this lesson.
We know what is integrated development environment.
What are most popular ideas for Java development?
How to configure Eclipse on your computer.
You learned the concept of packages and created your first project in Eclipse and now your homework
download.
I guess you can choose whatever idea you wish.
Install it on your computer and create Hello World Project in your ID.