How to check Java version in Windows, Linux, or Mac

In this tutorial, we are going to see how to use the java -version command to check the current version of java installed on your computer.

How to check Java version:

1. Open your command prompt in Windows or your terminal in Linux.

2. Type java -version.

In this case, JDK “1.8.0_121” is installed on my computer.

mcqMCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More

Leave a Reply

Your email address will not be published. Required fields are marked *