Please tell me how to check the version of the JDK of the java installed ....
I wanna knw the version of the JDK which is the version of my code.
NOT the version of JRE!
javac -version
Open command prompt and type
java -version
Open command prompt and type
java -version
That is the JRE version, not the JDK version.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.