Monday, April 05, 2021

Java for Beginner #1: How to start Java programming

 

  








There are two steps to start Java programming:


1. Download Java Development Kit

2. Get IDE (Integrated Development Environment)





Download Java Development Kit

Let's type "Oracle Java" or "download Java" in search box. Then you probably find something like this. 










These are the links to the Oracle website, the company which owns Java.



Let's click "Java SE - Downloads".


Then you see a screen like this:











*As of April 2021, Java SE 16 is the latest version of Java.


Let's click "JDK Download".






*JDK stands for "Java Development Kit". 

JDK is essential if you want to make Java program. 



If you click "JDK Download", these selections show up:











Let's download JDK-16 (or older version if you have any preference). 

If your OS is Windows, choose either "jdk-16_windows-x64_bin.exe" or "jdk-16_windows-x64_bin.zip".


Once the download is done, install JDK to your computer (click the installer and follow the instruction... the usual stuff) then you are basically ready to make Java program.



Get IDE (Integrated Development Environment)


That said, I'd strongly recommend you to get IDE as well. 

You can make Java program using simple notepad if you want but IDE provides many convenient functions that make your work so much easier.  

Seriously, please get IDE. You won't regret it.


There are many IDEs. And these are the top three popular IDE for Java developers.


Eclipse




https://www.eclipse.org/downloads/



IntelliJ IDEA




https://www.jetbrains.com/idea/



NetBeans





https://netbeans.apache.org



I use Eclipse myself so most of the code-related screenshots on this blog are shot in Eclipse environment (They have their own UI design so they look a little different to each other) but these are all very popular IDE so you can't go wrong if you choose one of them. 


Once you downloaded an IDE from one of those websites, click the installer and install it to your computer.


Then you are all set to start programming Java!


Thanks for reading and have a nice day.


 

No comments:

Post a Comment