Today, we have a very important topic without this knowledge, you won't be able to proceed with this
training course because to be able to program in Java, you need to have judical installed on your computer
and we will learn which education to choose and how to make sure that Java is properly installed on
your computer.
The latest version based on today is Java version 13.
Oracle has six months release.
And so from now on, new version of Java will be released each six months.
Does that mean for you that you need to learn Java each six months?
Not necessarily that the developers.
This can be quite overwhelming.
How many applications do have to go back and to update now on how many servers in your data center are
constantly needed to be updated to the newest Java release?
There are two things developers hate.
One of them is a necessary change.
It is even crazy to think about keeping several applications or several number of servers up to date
with the news release.
That is why the concept of an Altius was established, and Java LTE, which stands for long term support
release, is a version of Java that will remain the industry standard for several years.
To give you an example of this, Java eight was released in 2014 and it's extended support will end
by December 20th.
Sergius, probably Java eight, is the most popular nowadays.
A lot of companies still rely on it and there is no urgent need to upgrade to the newest Java version.
Java Eleven is the latest long term support version based on today for educational purposes.
I would recommend you to use the latest version of Open JDK, which will allow you to use the most recent
and up to date version.
And to be completely honest, between version eight and version sitting, there is no dramatic difference
which will be noticed by junior developers.
There are some of them and we will learn them during the training course.
You will also notice that you have Oracle Jaedicke and open jaedicke available for you for the cloud.
Probably main difference for you right now is that open the case completely free, including commercial
use.
Oracle JDK is not free for commercial use.
There are also some other differences.
For example, when it comes to performance, Oracle is much better regarding the responsiveness and
Jovian performance.
Oracle, the case fully developed by Oracle Corporation, whereas the ticket is developed by Oracle
and the Java community get together.
So I recommend you to use open JDK.
This will allow you to learn Java platform and to implement powerful applications.
Now let me show you how to install the key on the computer from scratch.
Go to Google and search for duplicate Java Net.
Let's open this link.
Select 13.
Download these archives for Windows or Mac, respectively.
I'm downloading this one.
Now, extract archive.
Let's have a look what is in here.
So here we have been folder, you can find in it all tools and programs which we need to create our
Java applications.
For example, here you can see Java Javadoc.
This is Java Compiler, which compiled our source code, our files written with letters to bytecode.
Here's Javadoc application to generate documentation from our source code.
In the next lessons, I will show you how it works.
Here is Java application to run Java Virtual Machine.
Our next steps.
Please open a common line in this directory to do this type systemd right here and press enter.
So here's our common line.
Type Gever Dash version.
And press enter now you'll see that you have opened the key version 13 here.
And this is completely fine, but try to navigate one level up in your file system, try the city government,
also known as change directory.
It is a common line share common used to change the current work in the rectory in the various operating
systems.
The first single dot operator means this directory is a double dot or pyrates means the parent directory
the next one and the tree lets type Sidis, Nebel, Dot and press enter go ahead and times the same
Java version common here.
Java is not recognized as an internal or external command.
Why do we see this?
Because from this level we can't get access to Java program, which is located in Benfold.
As a software engineer, I want to be able to call Java and Java compiler on my machine from any place
in my file system.
To do this, I need to configure environment variables.
Now I will show you how to configure environment variables on Windows machine.
If you have Mac, please take a look to resources attached to this lesson.
I have special written guide for you do mouse right.
Click on my computer open properties, go to advanced system settings and one wearables.
And here we are now.
Even despite this, it's not necessary.
The rule of thumb is to create Java home variable.
First, this variable will refer to the Jaedicke home folder.
You can have multiple Java home variables to be able easily change our home version on your machine
like I have here for Java versions eight, 11 and 13.
Let's create this variable press new button here.
Java underscore home.
And let's hope is this past.
And paste it as a variable value.
Press a button.
Now we have Java home here.
Next thing to know is that Windows has bars Werrimull.
Let's find it.
Here, this bus is an environment variable specifying a set of directories where executable programs
are located in general, each executing process or user session has its own path setting without past
variable, we would need to run programs, use an absolute pass.
The pass variable prevents us from having to write the entire past to a program that suggests value
here.
Can you type person sign?
You have a home.
Percent saying file past separator and windows, that is backslash and bin.
That said, in case you have previous Windows version, most likely you see something like this.
Make sure that line ends with semicolon and write the same.
So you can choose one option or another, it's up to you and now attention, if you had the terminal
opened, closed and opened again to apply all changes.
Let's again, open terminal here.
Let's go one level up.
Now, let's dive the same Java version comment.
Here we are now.
We can run Java program from any directory.
Let's also check version of compiler called Java Version.
Here it is.
If you see version number, then everything is OK and we are good to proceed with the next lesson.
Let's summarize what we have learned on this lesson.
We learned how to choose JDK version.
What is the difference between Oracle Adjudicate and OpenEdge?
The key, how to install duplicate on your computer and how to configure environment variables.
Let's now review your homework for the next lesson.
So for the next lesson, you just need to repeat everything, what we have discussed during this lesson
and make sure you have JDK installed.