Welcome to Ask Ozar.net !
Welcome to Ask Ozar.net, where you can ask questions and receive answers from other members of the community.
+2 votes
After upgrading my Mac to OS X Mavericks from Snow Leopard, Eclipse default JRE is still showing a Java 6 VM although I installed JDK 7.

Where Java 7 installed on OS X Mavericks? How can I determine the location of Java VMs on the Mac?
in Java / Java EE by (860 points)

2 Answers

+2 votes
 
Best answer
  1. Launch Terminal.app
  2. Run the following command:

    /usr/libexec/java_home

    to see the list of  installed JREs or for specfically version 7 type

    /usr/libexec/java_home -v 1.7
by (1.0k points)
selected by
+1 vote

 

/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home

 

by (560 points)
...