Java Basics

Java Basics 02: Installing NetBeans and Hello World

14 videos

80 minutes

Well, we'll see in this video, we can install the components you need to program in Java. The first thing we need is to have our machine: the JDK, Development Kit in Java logically and apart from that, a development interface; what it is called a ID. A program which develop the code. We will use the NetBeans, this link have the two things combined. So he went to download here and here

JDK as access to both the tool; we must accept the license agreement and once accepted downloaded the installer according to the operating system we have us. In my case I have a Windows and good if you want to know how many bits is your team is very simple: coming into my PC, on the part of properties, here tells you whether 64-bit or as it is, you see here have it and already know that what is yours. I will not download, because they are 200 and

megabyte peak; I have it downloaded to speed video is here and we will put the installation. In my case already I had a pre-installed version, then maybe that expedites, but installation is very simple. Simply set the path, where we have to copy all the files that make the IDE work and you will see it is very simple. It is this characteristic, following lifetime. I have it here, it is already installed, welcomes me, you

I give below, accept the terms, following; the route (you see how I told you the installation path), next, next and install. And that's it. And while So I tell you a little what will be the schedule that will be to the course. We will see in this course, first: let's see variables, types data that we need to store information (see what that is a variable and variable types can be used in Java), then also

We see logical operators: the If with And and Or see that logic (which allows us to control the flow of instructions and also see a little is that, that is the instruction stream), also see loops: the while loop, Do-While, the For, we will see the Switch and Break, which is an enlargement the If. And we will see different types of data, not only variables but also Arrays, two-dimensional arrays, we will see how we can access

data from files, reading and writing files. And finally we will be seeing objects and inheritance, so with that and something more that I You have forgotten, because we have all the schedule of this basic course Java. Well meantime, here we have the facility. Once finished all process, which is quite long, because you have to download many components, and not only for Java, but for other programming languages; as

NetBeans serves more languages, as the wizard tells us that if we want to contribute ... well this laid it off to transmit data and finish us. Once completed and we have our team ready to work with NetBeans. So, it's just a matter of finding the shortcut that we have created to launch the tool. If you go to the desktop, you will find the shortcut and simply double clicking you can launch to be open. In Myself

If, as I already had a previous version to some of the settings are loaded me in this new version, but no matter because they are all very similar, do not. And I'll show you a bit as is the development of NetBeans interface, as you can see here, you have the part of the tree; here you have projects there with the files needed for that project. So, let's create our new project. If here I give New Proyect, here. I can just create a project

new and good, then select it from Java not a Java Application, we give here below and put the name; for example, put here: CursoBasicoJotaJotaVM, no, because I have another basic course I party so to differentiate, we finished. And here is the basic course, you see, here it is; then good is already very simple. This part of the code, perhaps you, you go out with white background; and I tell you that colors can change, I

I have it ... you change the colors in the old version and so now is changed me; but the operation is exactly the same and here you already have to put the code you need. For example, here, let's put 'Hello World'; I write System.out.println and quotes put 'Hello World,' finalized with semicolons. And now here when it launches, with this button, I open the compiler, see it down here and we have the 'Hello World', then, well ... I

to put this well, so perhaps best displayed there you have it. And something very interesting Java, I mean, is that if something is wrong will go here on the screen; for example, this could not have put no quotation marks, I remove the quotes here is a mistake and see that this changes. So, that we will identify what things we wrong in our code, we need to correct them; as this is corrected, the flag is removed, and you see it

It's working correctly; or if I had put here without semicolons, as it is wrong. So, this syntax, is what we learn in the course: reserved words, for example, this right here System.out.println, because you have to put this to be displayed. Well, well, this course will see those words to be written to things, either. Well, well, this has been a little introductory video: the Hello World, we have prepared the interface

to begin programming and from now on we will see Java basic syntax.

To find new courses, subscribe. There will be no spam, promised :)

About the Author

foto de jotajotavm
José Javier Villena

Biography: Analyst-Programmer in different languages. Tutor PREMIUM platforms recognized worldwide as CodigoFacilito. Editor Cristalab articles. My YouTube Channel is sponsored by the ANAYA and LaTostadora publisher. I like to explain in detail and give several examples for the avoidance of doubt.