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!

Recommended Answers

All 3 Replies

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.

Be a part of the DaniWeb community

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