Java is a well-known programming language. There are so many applications created by using it.
– Web application
– Mobile application
– Desktop application
– Database connection
– Much more
- Java is an independent platform language. It means that the application created by using Java can be run on any platform (Windows, Mac, Linux) thanks to Java Virtual Machine (JVM).
- Object-Oriented Programming language. It is a based paradigm that Java supports. Every element in Java are objects, except primitive data types.
- Interpreted and compiled code. The source code is written in .java files, then they are compiled into bytecode format in .class files. At run time, JVM reads the bytecode instructions and interpret to the native hardware platform which JVM was written.
- Self memory management: Java allocates and de-allocate objects in memory automatically. JVM will delete the objects which do not have active pointer exists, it’s called Garbage Collector.
To run Java programs, you must have either Java Runtime Environment (JRE) or Java Development Kit (JDK). JDK contains everything JRE has and much more tools such as the compilers and debuggers necessary for developing applets and applications. Thus, it is recommended that you should install JDK for playing more with Java.
For JDK, there are some options that you can choose to develop various types of applications, such as Java Platform, Standard Edition, Enterprise Edition.
For the next articles, I would suggest to use basically JDK Standard Edition (SE) version 8, even the latest version is 12.
You can find the installation files for your OS in here.
If you got any trouble in installation, please leave your comment below. I would be happy to help you.
Next article, we will start creating a simple java application and more details about parts of a program.