How to find out the path of installed JDK
A long time back a here asked this question in a very informal way(I mean not in any thread) and he didn't even tried to share its answer also.Well, just now I was trying something and got its answer:
In windows:
Step1: Open command prompt
Step2: Simply type following command
C:\Documents and Settings\shalinig>echo %JAVA_HOME%
It will simply display the path of directory where jdk is installed on your system.
If anyone knows about the command used on Linux. Please share here. ๐
Thanks