"Write Once, Run Anywhere!" |
The very
first thing everyone should do before even picking up the book for learning
Java is to setting it up on their personal computers. Why?
Because
setting it up not only helps you try and test the various examples as we will
learn throughout the tutorials but also helps you get the necessary hands on
experience with the syntax of the language.
Hence,
without wasting our time, lets straightforward start with installing the Java Development
Kit (JDK).
Installing JDK and NetBeans IDE (JAVA Development Kit and Integrated Development Environment)
To install
a JDK for your system, simply click on this link:
Following
this link you should be right now at the download page for Java Development
Kit as shown below.
Install the Latest JDK and the Netbeans IDE by clicking the link on the right. |
Now the two BIG links just under the heading "JAVA SE Downloads" are the only two worth our consideration.
The link on the left, with the icon of JAVA, is the one you should click if you JUST want to download the JDK.
The link on the right with the icon of Netbeans is the one you should click if you want to download the JDK AND the NetBeans IDE offered by Oracle.
Let it appear in a way that if you just want the cement and bricks, you are welcome downloading JUST the JDK.
However if you want to use those cement and bricks to build a building, you should download the JDK AND NetBeans.
The NetBeans is an IDE which is used to build up JAVA applications. There are other IDEs also that can be used for JAVA Development.
For example Eclipse.
We will learn about How to install Eclipse later.
Following the previous screen will bring us to the following screen.
Choose your version according to the Operating System (OS) your system has. |
This screen requires you to choose your package according to the Operating System your system has.
Make sure you accept the license agreement before clicking on the package.
Clicking the links then will start a download. Following the end of the download, you must install the package by double clicking on it and clicking run.
KEEP A NOTE OF WHERE YOU INSTALL THE JDK ON YOUR COMPUTER. AS YOU'LL NEED IT LATER.
After installation of the JDK, You need to do something called the Path Environment Variable Updation. This is for the system to know which JAVA executable to run when required.
To avoid any personal jargon problems, I'd attach a snap right here from Oracle Documentation over how to update your Path Environment Variables.
Updating the Path Environment Variables jor JAVA. |
With you updating the path variables, you've successfully installed the JDK and the NetBeans IDE.
Installing the Eclipse IDE
As I mentioned before, after installing the JDK, you may want to instead install the Eclipse IDE. For installing the Eclipse IDE, you may follow the following steps:
Go to the following link
after you do so, you'll get a screen with multiple packages for download.
For learning JAVA, it is sufficient if we download the one named as "Eclipse IDE for JAVA Developers".
Eclipse IDE for JAVA Developers |
Following the download, you would want to install the package at your preferred location.
Choose the Workspace accordingly. The Workspace is the place Eclipse stores your projects at on your computer. Make sure its a convenient location on your computer.
Choose the Workspace accordingly. The Workspace is the place Eclipse stores your projects at on your computer. Make sure its a convenient location on your computer.
Hence this was a pretty basic start up tutorial featuring how to install what you need to install in order to run JAVA on our systems. This was just the very first video on our entire feature-packed tutorial series that's about to cover JAVA Fundamentals. Remain tuned in! :)
0 comments:
Post a Comment