How to know java version
How to know java version
How to Check Java Version
In today’s blog, we will be showing you how to check the Java version on Windows and macOS operating systems.
List of content you will read in this article:
Among all the programming languages, Java is considered to be the most commonly used language that has been adopted worldwide. There are numerous reasons why Java has gained popularity over other alternatives. There is no doubt that Java has been famous among all Fortune 500 companies and is widely recommended by developers. Its user-friendly and flexible nature makes it a go-to programming language for web developers and programmers.
The main reasons behind Java being popular is its fast speed, high-end security, and reliability. Along with such benefits, Java also offers private transmission, automatic memory management, and secure crucial information.
About Java
The name ‘OAK’ was given to the project after an oak tree that was located outside Gosling’s office. But later on, the term ‘OAK’ was changed to Java. After various talks and brainstorming sessions, Gosling and his team come to multiple names- JAVA, DNA, SILK, BURY, etc. Still, they decided on JAVA after many discussions due to its uniqueness. This name (Java) comes up from a type of espresso bean. Gosling and his team members had come up with this name while having a cup of coffee near their office.
The main principles on which Java was built are- robust, portable, platform-independent, multi-thread, etc. In 1995, Java was recognized as one of the ten best products in Time magazine. Today, Java has been used in various fields like internet programming, mobile devices, games, etc. later, multiple versions of Java have been introduced over the years with new added features and functionalities.
Versions of Java
Over time, Java has introduced various versions with different and advanced features than the earlier version. Every version has fulfilled the drawback of their previous versions. Some of the versions are still supported, and some of them are not. Below is the list of all the Java versions introduced to date.
How to Check Your Java Version in the Windows Command Line
This article was co-authored by Yaffet Meshesha and by wikiHow staff writer, Travis Boylls. Yaffet Meshesha is a Computer Specialist and the Founder of Techy, a full-service computer pickup, repair, and delivery service. With over eight years of experience, Yaffet specializes in computer repairs and technical support. Techy has been featured on TechCrunch and Time.
The wikiHow Tech Team also followed the article’s instructions and verified that they work.
This article has been viewed 414,995 times.
This wikiHow teaches you how to check what version of java you have installed on your Windows computer using Command Prompt.
I edited this screenshot of a Windows icon.\n
I edited this screenshot of a Windows icon.\n
How to check which version of Java you have installed in Windows 10, in 2 steps
Twitter LinkedIn icon The word «in».
LinkedIn Fliboard icon A stylized letter F.
Flipboard Facebook Icon The letter F.
Email Link icon An image of a chain link. It symobilizes a website link url.
Java is a programming language that’s used to install and run programs. Chances are that there are already several programs on your Windows computer that run using Java, even if you don’t know it.
However, if Windows isn’t running the latest version of Java, you may have trouble downloading new programs, or even opening some websites.
To check which version of Java you’re running, you’ll need to use Windows 10’s Command Prompt app. The Command Prompt can seem intimidating at first, but if you know what to type, you’ll be fine.
Here’s everything you need to know.
Check out the products mentioned in this article:
How to check which Java version you have in Windows 10
1. Type «Command Prompt» into the search bar next to your Start menu, and click on it when it appears in the search results.
After a moment, your screen should display the information your computer has about Java, including what version you have installed.
If nothing displays, it most likely means that you don’t have Java installed on your computer at all. Luckily, you can download it for free here.
How to Check Java Version on Mac or Windows
Home » SysAdmin » How to Check Java Version on Mac or Windows
Java runs many of the applications that we use daily. Many applications cannot run on older versions of Java. Hence, it is essential to know which version is installed on your system.
In this tutorial, learn how to check the Java version on your Mac or Windows system.
Check Java Version on Mac
You can find the version of Java on macOS by:
Option 1: Check Java Version on Mac Using the GUI
To check the Java version on Mac without using the terminal by searching for the Java Control Panel in the System Preferences.
1. Click the Apple icon in the menu bar to open the drop-down menu and navigate to System Preferences.
2. A new window opens with various icons and settings. Find and click the Java icon to open the Java Control Panel.
3. Once the Java Control Panel opens, click the About button. A new window with Java version information should appear.
Option 2: Check Java Version on Mac Using the Terminal
If you prefer using the terminal, checking the Java version is a simple one-command process.
1. First, open the terminal. To do so, click the Spotlight Search button in the top-right of the screen.
2. Type terminal in the search bar and open it by clicking on the icon in the search results.
To check the version of the primary Java compiler – javac (pronounced “java-see”) use the command:
Note: If you have a Linux system, refer to How To Check Java Version Installed On Linux.
Check Java Version on Windows
To check the Java version on a Windows computer, you can use:
Option 1: Check Java Version on Windows Using GUI
To find the Java version on your Windows without opening a terminal window, use the Control Panel.
1. Open the Windows menu in the bottom-left corner and type control panel in the search bar.
2. Find the Control Panel in the search results and click the icon to open it.
3. Move to the Programs directory.
4. Find and click the Java icon to open the Java Control Panel.
5. Once the control panel opens, click the About button.
6. The About Java window should appear and display the Java version on your computer.
Option 2: Check Java Version on Windows Using Command Line
Another option to find the Java version on Windows is through the command line.
1. Open the Windows Start menu in the bottom-left corner and type cmd in the search bar.
2. Then, open the Command Prompt once it appears in the search results.
You can also check the version of the Java’s primary compiler, javac, with the command:
This article showed you how to check the version of Java installed on a macOS or Windows system.
How to Check Your Java Version on Windows 10
Mahesh Makvana is a freelance tech writer who specializes in writing how-to guides. He has been writing tech tutorials for over a decade now. He’s written for some of the prominent tech sites including MakeUseOf, MakeTechEasier, and Online Tech Tips. Read more.
Some apps require you to run a certain Java version to properly function. You can check which version of Java you have installed using a graphical tool or via the command line.
Check Your Java Version Graphically
If you prefer to avoid the command line, you can use the About Java utility to find the installed Java version.
To use this method, open the “Start” menu, search for “About Java,” then click the first result.
Here, you’ll see your current Java version listed in the first line.
If you don’t see About Java in the Start menu, search for “Configure Java” instead and click it. Then click “About” to see your Java version.
Note: If you don’t see either the About Java or Configure Java tools, you likely don’t have Java installed. You can download it from Oracle’s official website.
Check Your Java Version Using the Command Prompt
You can check your Java version from the command line, too.
To begin, open the “Start” menu, search for “Command Prompt,” then click the “Command Prompt” shortcut in the search results.
When the Command Prompt opens, type the following command at the prompt and press “Enter.”
You’ll see “java version” and some numbers next to it. These numbers are your Java version.
If the Command Prompt says that Java is not recognized as an internal or external command, that’s probably because the system variables are not properly set—or perhaps because you don’t have Java installed. Reinstall Java on your PC and this should fix the issue for you.
If you use Ubuntu alongside Windows, there’s a command that you can use to check whether Java is installed on your Ubuntu-based computer. And if it’s not, you can install it fairly easily.