- In this video,
I wanna go through and show you how to set up
and configure IntelliJ IDEA,
the Community Edition,
set the App for Windows platform.
And I've also get a video in this channel for Mac
and for Linux machine,
so check out the videos on this channel
if you wanted to instal ItelliJ for those platforms,
but for Windows, let's get started.
(Techno music)
Alright, so what we need to do is visit jetbrains.com
and they're the people who are responsible
for the product code IntelliJ IDEA
that we're gonna be using.
So once we get to their website,
look up here to tools, then we're gonna go down
and we're gonna click on ItelliJ IDEA
and when that screen loads I'm gonna click on download.
I'm gonna close down this little box here
which is a cookies pop-up,
you might have seen it on other websites
click on yes I agree to close it down.
This case, you got two versions that you can download.
The Community Edition, however, here on the right hand side,
you can see it says that it's free and open source
so you will never need to pay for it
and that's the version that am going to download
and instal.
So I'm gonna click on that,
give it a moment to start,
and you can see down there it's starting
and then click on run.
While it's downloading I'm just gonna click on back
and talk briefly about the differences.
You can see that the Ultimate Edition
is a commercial asset so it's not open source
therefore, not free.
So you can grab that if you want.
It's got a lot of tools and capabilities
and is aimed for professional developers.
You do get a free trial,
the Jetbrains give you a 30 day trial
but in that case, we are gonna be using
the Community Edition, you don't have to do any of that.
Am gonna close down the browser
because we are gonna go through the process now
of installing IntelliJ IDEA.
Am gonna click on yes here
and now we've got a Standard Wizard
and going to go through the steps to instal up.
Am gonna click on next,
am gonna click on next again
accept in the default destination folder
and now, when we get this first screen
it's important to get this paper art.
So up here under create desktop shortcut
am gonna click on 64-bit launcher.
If you're on a 32-bit Operating System,
you'll choose 32-bit launcher,
and in addition to that,
you'll also come down here and click on download
and instal JRE x86 by Jetbrains.
That's only for a 32-bit user.
In my case,
am a 64-bit user
but am just clicking on 64-bit launcher
and not selecting there.
There create associations I suggest check all three of those
and that just means that
if you got a file with any of those extensions
which is basically some Java code,
Groovy which is another language and Kotlin,
you can click any of those and it'll open up on IntelliJ.
So I'm gonna click on next, click in instal
and that's gonna go through the process
of installing IntelliJ IDEA on this computer.
And just to note that
if you did have 32-bit Operating System
and then selected to download the JRE
you find that would take a while
and that would increase the time
for completion of this installation process.
But in my case, again, I was on a 64-bit machine
and didn't need to do that.
Alright. So am gonna pause until its finished,
and we'll come back when once it's complete.
Alright. So at this point, now you can see
that the installation has completed.
I'm going to check the check box
so that we run IntelliJ IDEA click on finish,
and you can see that's actually popped up.
Now you can't see that too well,
and that because what I've done is
I've actually up-sized the the windows
so that they fit better.
We can see things a little bit more clearly
but that hasn't worked too well
for this particular dialogue.
What it's basically telling us is that
there's an option for you to imrport IntelliJRD settings
from a customer occasion.
now that would be if you had a previous installation
of IntelliJRD
and you wanted to restore all the very settings
but in my case, this is a brand new installation
on a brand new machine
so am gonna select the option do not import settings
and click okay.
Now, depending on your location,
you may or may not get this option on screen now
about Jetbrains Privacy Policy,
so am gonna scroll down to the bottom here in any case.
Am gonna click on accept.
So if you get that, just accept that
and in terms of data sharing,
you can change the behaviour there
and send usage statistics to Jetbrains,
am going to click on don't send.
Alright. So at this point now
we've got the option of choosing the theme for IntelliJ,
noting that it's telling us down there
that we can go into the settings
and change just later.
Am going to select the white background
which is good for video
but you might wanna select Darcula
but the choice is yours,
and then am gonna click on next.
An what IntelliJ allows you to do
is instal a variety of different tools.
We don't need any of these tools at this point in time
just gonna click on next,
but you could instal anything if you wanted to
and locals for the featured plugins.
We're not going to be using any of those either.
So am gonna click on start using IntelliJ IDEA.
Alright. So at this point now,
we've done the basic installation of IntelliJ IDEA.
What we need to do as a once only process
is we need to associate the Java Development Kit
that we previously downloaded and installed with IntelliJ
so that IntelliJ is able to access and use
that Java Development Kit.
The way we're gonna do that
is we're gonna click on configure,
we're gonna click on project defaults
and select project structure.
And that brings up the screen here
and if you're installing IntelliJ IDEA for the first time,
you'll probably get something similar to me.
You can see on screen here with No SDK
and just in case sometimes IntelliJ opens up down here,
on the SDK, Just make sure you click on project
if you see that.
So over here what that's saying
is that there's no SDK.
SDK means Software Development Kit.
So it's just telling us
that we need to define and set one up.
To do that, am gonna click on new
and then come over here and select JDK.
Now, in some cases, IntelliJ IDEA will automatically find
the version or the Java development Kit
that we installed in the previous video.
In this case, it hasn't found it for us
so what we then need to do is
navigate to the folder where that was installed.
Am gonna come down here
and just click on the triangles there
and we made through caller
on so called \Programme Files,
then it was Java,
then it's JDK 11.
So am just gonna click one JDK 11 there.
Now, if you happen to have downloaded
the 32-bit version of Java which was Java 8,
you most likely have a JRE
which stands for Java Runtime Edition and a JDK folder.
In that scenario, make sure you select the JDK folder
that you can see that I've got selected here.
Am going to click on okay
and you can see that something happened up here,
we've now got an option,
we've got No SDK
but we now also got this option here Java 11.
So, that will be for the said Java right?
If that's the version you downloaded.
Then the other thing you need to do is,
depending on the version,
you wanna match the project language level
to the version you downloaded.
So in my case, it's set currently to 10,
am gonna change that to 11,
that's for Java 11,
then we need to click on accept here
which will probably disappear
in a future version of IntelliJ
because the Java Development kit is so new
as of the time am recording this video
and obviously, if you downloaded Java 8
you would select eight here
which would match the the version you downloaded.
In my case, I've selected 11.
Am gonna click on okay.
Okay now. At that point,
what we've done is we've now installed
or configured the Java Development Kit
to work with IntelliJ.
There're just a few other settings we need to do now
which I won't set all the settings
which just makes it look a little bit easier for you
when you're starting out with Java with IntelliJ IDEA.
And to to get access to that, we are gonna come back here
and we are gonna come back here and click on configure,
select settings,
and when that comes up, we're gonna go down to editor
and select general,
we're gonna open that up there
and we're gonna select auto import.
And what am going to check is these two boxes here
which is add unambiguous imports on the fly
as well as optimise imports on the fly for current project.
And we'll be talking more in a future video
as to what they mean.
For now, just check those,
and he other thing you wanna do is come down to appearance,
wanna make sure that line numbers is checked
which it is by default but make sure that it's checked.
Then the last options we wanna set
are under here under code folding.
And what we wanna do is do a few things.
We want to actually tick the check box of imports,
so we're not gonna collapse imports,
wanna uncheck the one line methods,
we wanna uncheck closures,
we wanna uncheck generic constructor and method parameters.
Now, if you're new to Java
that probably doesn't make a lot of sense
but essentially what we're doing here is
we are setting ourselves up to not get the_
To make sure, rather, that the editor IntelliJ
doesn't hide any code.
As you become more experienced as a developer,
you want to hide portions of the code
to focus on what you're working on
but when we start again, we wanna access and see every thing
so this is the reason why
we've actually unchecked those options
so that all the codes there should be showing.
Alright. So finally I wanna click on okay.
We're now safe with all the settings.
At this point, we're ready to start programming.
Alright. So thank you for watching.
If you've got questions, leave a comment.
If you're ready for the next programming specific video.
Click on the link up here
in the top left hand corner of your screen.
To look at non-coding programming-related questions,
click on the link down
the bottom left hand corner of the screen.
Feel free to subscribe by clicking on he link up here
and I'll see you in another video.