Curso de Java #03 - Instalando o JDK no seu Computador - Gustavo Guanabara

1.17M views3236 WordsCopy TextShare
Curso em Vídeo
Veja o passo-a-passo para Instalar o Java Development Kit (JDK) do Java SE 8. Para instalar o pacot...
Video Transcript:
♫ intro music ♫ Hello, welcome to another class of your Java course My name is Gustavo Guanabara, I am your teacher, And in past classes Java course, we saw how language emerged And how it works now, we'll see something else: How to Install the Java development package according to your need for learning That's one thing you should have noticed right away some of the more complex Java. No use to say: Oh, I want to program in PHP Go on, download the package and "Hacker"! No, in time you will develop in Java, you have to know what you will develop, what is the best way, what is the best distribution, what is the best issue you'll have to download the JDK, not the JRE Do not you remember what is JDK and JRE?
I'll take a recollected for you! And let's remember quickly! Last lesson you should have remembered We talked about JRE and JDK.
JRE is the Java Runtime Evironment and it is aimed at those who just want to use applications built in Java Already the JDK is Java Development Kit, which is the Java Development Kit That is for those who want to develop things in language. You must remember well that the JRE consists of the JVM and some libraries. And the JRE JDK is made, i.
e. , JVM libraries. In addition we have the JavaLang and JavaTools and if necessary, we will use an IDE specifies.
fast was over? I talked a lot you do not understand? So back to the second class and stop being lazy, little grasshopper!
Some people skip the first classes, "Oh, I do not know the history and operation, no. " "I just want to download the language. " It is not how it works.
Java mainly. Java is a giant platform, you need to understand, you need to understand the "small little heart" of language. Because if not you will find it difficult.
And when you realize how big it is, you need to know some concepts before one letrinha soup we started last class and will continue in this class. So know what a JVM, how it works, bytecode, Java compiler, because the Java compiler does not generate executable. This is all explained in the other classes.
So back to the beginning of the course. Click here and go straight to playlist, there you will have access to all classes. Begins the Java course beginning not jump classes.
Speaking of IDE, last class we talked by as it works an IDE. But I show you in detail now. IDE is an acronym that stands for "Integrated Development Environment" or Integrated Development Environment.
Again I tell you what I said last lesson: You may have learned in high school or college or in your online course without using IDE. Node will use IDE because in my opinion makes it much easier (this is a course for beginners) and faster when you are an experienced programmer. When you are a beginner developer, you know nothing, then the IDE will you facilitate it.
When you become a more experienced developer with certainty, the IDE will it facilitate the work, so there is no error, no injury: learn from IDE, will for me and you'll understand. I quoted here are some advantages in using an IDE. An IDE is, right away, a full editor.
It is not a simple editor. It utilizes, for example, colorization code. An IDE also has full integration with compiler, linker and debugger.
And then you will not need to get out of a window, entering another by typing commands and see if it works. Did not work? Close the window, open the other type, then closes the window .
. . This is not necessary.
In the case of FDI we will use it's just you enter the code, press "play" and is working. Why you need complexity I do not understand, honestly I do not understand. Has teacher (and if you are a teacher and a programmer in Java and you are "Wow, that's absurd, using FDI.
" ) Is not expensive, look We are in the year 2015 (which is the time that this lesson is being recorded, if you're watching right then, this lesson was recorded in 2015), In 2015 face, languages ​​have evolved, you do not need to get into the terminal mode, decorating command, type command, then see if it works, it does not work? Back in the editor, changes . .
. For God's sake . .
. Let's make it easier. "Ah, but then you program by dragging and clicking.
" I'm not worried about it, and I hope that little grasshoppers, you are a small grasshopper wise, is not it? You're smart, I'm seeing here, you can see here, in your eyes: you are smart, you will develop the simplest way, the most peaceful way to develop. Stop stupidity, idiocy stops.
Take a chance on an IDE, you'll like it! Another feature that makes me like a lot of IDE's: it also has code generator. And then back boring programmer: "Ah, but the code is automatically generated .
. . You enter and it will help you.
"Dude, you do not need help in life? Why the IDE can not help you? I honestly do not understand, I do not understand.
So, I understand "Dude, no, you will have to understand the command . . .
" But I do not understand why people do not like to FDI. IDE is cool, it generates code for you. And if you are young, you understand me, man.
You do not need to work, you do not need rework. Take it from me: IDE! The penultimate advantage that I highlighted here was: Testing Environment.
It allows to create an environment to test your application before distributing. Speaking to distribute, it also facilitates the distribution, that is, then you develop, you can generate versions of tests, test environments . .
. . .
. Multiple test platforms, and you can distribute with ease, it will generate a package . .
. and this package will run on your client. So it's very simple to use IDE and I think now you can understand why I decided to use an IDE with the JDK, so we can do our course, and for Java beginners.
All IDE facilitates development, and in the case of Java there are several IDEs that you can choose . . .
. . .
Such as: The IntelliJ, Eclipse, but I chose was, as said earlier NetBeans. The NetBeans IDE is the one chosen by the Sun (the official), and when Oracle bought she also used NetBeans for it. NetBeans, "Beans" has a thing with coffee grain, the "Bean" is the grain of coffee, there're more a pun that munda Java, which ta complicated right !
! Haha. And like every good idea NetBeans will facilitate, will speed up its development, and it is also known by an acronym, "RAD", which is Rapid Application Development or rapid application development.
It's really very simple, and the choice of IDE . . .
depends only on you programmer, if you are an experienced programmer, on your business for example using Eclipse. Eclipse is one of the most used, I do not particularly like Eclipse, you see I . .
. ah . .
. think twice before speaking anything I do not like Eclipse, much prefer Netbeans because I think that integration is easier . .
. the Wizards are easier . .
. it's all simple, but if you like to use the Eclipse . .
. even I know what you doing here in the basic course, but anyway . .
. we are there. I'll use NetBeans, I will not even mention more Eclipse, I will not use more, In this class I to citing "IntelliJ" which is wonderful, IntelliJ that was even created .
. . .
. . By our friends from JetBrains, which is always partner there, unfortunately we will not .
. . use IntelliJ because NetBeans is better, right, we did not used, but if you want to check he also has a hug for JetBrains the guys you are "fuck caraio shovel !
! ! " In addition to using the IDE, you have to know the issues of java Yes, it was not enough that you have to download the JDK you have to know which JDK download.
And then depending on your needs, there are several Basically we can summarize in three editions SE, EE and ME SE is an acronym for Standard Edition or Standard Edition EE means Enterprise Edition or Enterprise Edition And the ME Micro Edition or tiny Edition KKKKKK tiny issue was right mad It is a micro guy editing can not help but say that But the difference between the SE and EE ME Basically works as follows If you will develop an application that needs windows or environments or standards control operating system GUI You will use the SE This is our case we want to develop applications in windows If by chance you want to build applications in window but if you want for example to use remote access, access to giant databases greater things that are used in large companies you will download the edition EE Enterprise Edition but if you want to develop something smaller such as a control of a portable device, or even applications for mobile phones smartphone, or anything else of the kind ME version is the one that was created for you So this letrinha soup is not so difficult You will use the UP for windows simple program EE for more complex programs that need more resources and the ME if you want to create a portable edition of your application And now we realized what we need He gave to understand why you could not skip these classes we will need the JDK since we want to develop we need the JDK with the NetBeans IDE and Java SE Let's see now how to download it all and to work on our machine First step to access the internet we open the browser, we could go straight to the site of the oracle but you just go to Google and type in Oracle Oracle means oracle gave enter is the first site This is skipping advertisements www. oracle. com/br Oracle site will hover over Downloads And here in the corner look at what we already have a well-known acronym Java SE Click on it You will be sent to this site here Note here, look at what we already have JDK 8 the current version when I'm recording this video once again I'm recording in early 2015, with NetBeans have NetBeans with the JDK is the first download that will do click on it Then here you will have versions The first thing you have to do is click here to "accept the license terms.
" If you want to read, here O. Okay that you will read, right? Here, you will choose which is your platform.
I have Mac OS X option, Linux 32-bit, Linux 64-bit, Windows 32-bit and 64-bit Windows In my case here I have Mac OS X 64-bit Then I'll click here and the download will start immediately. If you are Linux or Windows user and you are in doubt "is 32 or 64? " Low one and see if it works, right dear?
In case if you use Windows 7 or Windows 8, you can just download the 64-bit version If you still use Windows XP, will in version 32 which is what will work best for you. The download process is somewhat time consuming, here in my case it gives a 300 Mega It is roughly between 250 and 300 download Mega, only the JDK with Netbeans that will be the JDK 8 and the NetBeans 8. 0.
2, in case here's my version. While downloading, I'll talk to you from our main sponsor O! Hostnet!
smack smack kisses to Hostnet The Hostnet is a company for web hosting Do you have a business or work for a company you need a professional place to store your site is in Hostnet that will put you face, they all have cloud computing system You have from the simplest level, you know you have a small business You want a virtual store, from the simplest model has PHP So you can have a virtual store from the most basic model A blog a showcase whatever is if you want a great site that needs legal platform cloud environments only your face, there is go in Hostnet www. hostnet. com.
br Accesses there can be assured that you will have a site hosted in the best the best hosting company in Brazil Let's see now from our download is over, over. For Mac here is only we click here is an image He will ride this here O and I have a pkg, double click is similar to the Windows executable, is an installation package I will move, install, I will not change the location of the installation folder I recommend that you leave the default, we install Enter my password, closes the eye, turns his face to her Install software and it will install again the installation process just wait if here it is already almost at half and I already spoke from our sponsor . .
. I right so let's hope . .
. [Kissing sound for shirt Hostnet] If you have any questions regarding installation that same download page if you go down a little It has an area here in Portuguese in Brazil which are installation instructions Clicking on it: we will be able to have the instructions for each system. I want to install on Windows: click here it will have the manual, Linux, Mac OS I will not be installing on each platform you will already know giving a read, stops right laziness if you want to uninstall simply click here and you will see how it uninstalls in each of the platforms If you want any of the other versions: Just you look here, the SE, EE and ME and as you go by downloading the package from your JDK, which is the most important package, we download a few more things that we will need during our classes: we here at Download our Java SE Download this and screen else we will need, you will roll here a little further down, At the moment I'm recording this class, still okay at Home, but I'll download the JavaFX Scene Builder, which is in version 2.
0 at this time basically is a screen builder for JavaFX, which we will use during the lessons. again accepted here and low version of its operating system, in my case here, MacOS I'll click is a relatively small download, It is only 68MB. as in low, I .
. . {pointing to the shirt Hostnet} already right?
{Pointing to the shirt Hostnet} download Complete I will Click the DMG In case Windows just click forward, forward, forward . . .
Install For Mac and even easier and just get it here and drag After Drgging will pop up a window Copying Ready's already installed my SceneBuilder Important is that you install SceneBuilder after installing neatBeans Then: Install the JDK, finished you install SceneBuilder. Okay, do not do it before In the case here has been completed And the last thing I'm going down, come here, Java SE In Donwloads area, I'll download here, Documentation, below Java SE Documentation download, it will also download . .
. accept It is a fairly large file, 85 Mega, this does not depend on your platform whether to download, it is a zip file. It will not take long.
Not going to right. rsrsrs So basically these are the files you downloaded, we downloaded the installation package JDK with NetBeans, we downloaded the documents, already unzipped the document's here o . .
. and also the scene builder, vo open here the Docs folder and will open the index file in my browser it will open the browser, and here's all the documentation . .
. in English . .
. but this here If you wanted any information about anything, for example "Information about the Java compiler" ta here all the information! Back, an important place that we will use enough, it's this API here SE having all commands have all libraries, for example, the next class let's talk about Javalang, and you will see all classes, all the interfaces all exceptions, all "bunitinho" Here, you can choose, for example, "I want to talk about string" So I have a class String here So I have all the methods of the class explained String Do not worry, do not fear, do not be surprised With the amount of things and things in English You will not need a lot of these JavaDocs Guard, because when you're more experienced, you will need to make sure And that, that was the class was only the third course of Java I hope you're enjoying, enjoying, sharing If entering the channel In the playlist, accessing the site Everyone already knows that Here on the site you will be able to print the certificates when the course end What it is the most wonderful thing, a beautiful thing God Today I to .
. . The course of the project Video is free, but we need a lot of disclosure of you I really need you to watch these lessons There are many people, as I said earlier there The first class There are many people that downloads the video lessons to be able to watch in company Cool it, but is not distributing so not expensive!
Because the channel only survives because of the advertisements Have you seen that have advertisements in the middle class It's the least we can do face But there are people who complain: "What nonsense," but it is not absurd How much would you pay for a Java course? The most I'm asking is that you watch advertising in the middle class It is not so bad So please help help because It is difficult to produce quality educational content in Brazil Some people complains, complains of "full stomach" So that was the last conceptual step Now you have everything installed on your machine You already have all packages We already with Java SE, with the standard edition The Standard Edition With the SE JDK With NetBeans already configured for the SE, So we can develop Desktop Applications mainly Although now with the Java FX now you will be able to develop for anyone But this more forward Are you with SceneBuilder installed on your machine and JavaDocs for you to make any quick reference if I not around. Again I thank you for your preference I thank you for your patience I appreciate you attend this class.
this guy is sensational share with people share with friends shows to friends now we are releasing videos on Facebook too It helps to disclose're helping to damn us you are doing your part so then the course is free, but payment I ask is your affection is your account with me big hug good studies install it right my son In the next lesson, you will need all of this we installed Sincerely, good studies and until next time! (Bloopers): When you are a user expe . .
. beginner When you become a programmer . .
. When you become a developer more . .
. Including. .
. While he's retiring, I will speak from our sponsor . .
. (Bizarre Laughter) (Noises bizarre) "My precious!
Copyright © 2025. Made with ♥ in London by YTScribe.com