I want to copy some files in the subdirectories of the JVM path , java is already installed. How to know the JVM's path ?
In linux you can use the whereis and which shell commands.
which java whereis java
which will give you the jre path in /usr/bin folder which will be /usr/bin/java most probably. This is not the actual jre file but it's just a symbolic link to the actual jre file which is located else where. To know the actual jre path you will have to write
readlink -f /usr/bin/java
or whatever was the path of jre returned by which/whereis command.