how to know the version details in java by commandprompt?
if any body know the command plz give a reply to me

Recommended Answers

In command prompt type

java -version

and return can be something like this

java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
Jump to Post

All 2 Replies

In command prompt type

java -version

and return can be something like this

java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
commented: doing good job! +2

and simply if you type java -help means you will get list of items for help

in that itself it contains the java -version

from that you can get to know about the version that you are using.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.