Java is one of the most widely used programming languages. It is used in a wide variety of applications from AI to Android development. It is object-oriented. Read my post about object-oriented programming to get a clear idea of what is object-oriented programming. So, let’s dive in.
Here are some quick facts about the Java language:
Java was developed by a team headed by James Gosling at Sun Microsystems.
It was owned by Sun Microsystems till 2010.
In 2010, Oracle acquired Sun Microsystems. So, now Java is owned by Oracle.
A new version of Java will be released in every 6 months.
It was developed mainly to run in consumer electronic devices.
Today, Java is mainly used for internet programming, Android development etc.
It is syntactically similar to C/C++.
You need to download Java Development Kit (JDK) from the Oracle’s website.
Install it if you’re using Windows.
Add the path of Java installation by following these steps.
Got to the path of the bin folder of your Java installation. Most probably this is: C:\Program Files\Java\jdk-10.0.2\bin
Copy the path
Now right click on the computer icon on the desktop
Select Properties -> Advanced system settings -> Advanced tab -> Environment variables
Under User variables, select Path
Click Edit ->New
Paste the copied Java path Click OK->OK->OK
For Ubuntu users, OpenJDK will be preinstalled for you. To see if there’s a JDK installed on your Linux OS, open command line and run the command java -version. If it shows the version number of Java, then there’s JDK installed on your system. Otherwise, you’ll have to install JDK. Follow the steps here to get it done.
That’s it. We’ll try to write our first Java program in the coming post.
Hi, I’m Shiju P John. A Computer Science Engineering student. I run this site as my hobby and passion.