I want to copy some files in the subdirectories of the JVM path , java is already installed. How to know the JVM's path ?

link|improve this question

67% accept rate
feedback

2 Answers

up vote 4 down vote accepted

locate java

This will give you the location of java installation in your system...

Most probably it would be

/usr/lib/java/

link|improve this answer
feedback

Check your $JAVA_HOME environment variable from a terminal:

echo $JAVA_HOME
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.