On OS-X, run /usr/libexec/java_home -V
to list all available JVMs, /usr/libexec/java_home -v to return the current default JVM, and export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) to set the default version to use (to Java 8 in this example, use "-v 1.7" for Java 7, obviously). > Am 14.07.2015 um 14:23 schrieb Emmanuel Lécharny <elecha...@gmail.com>: > > Le 14/07/15 14:01, Lucas Theisen a écrit : > >> Which is the same version reported by the eclipse log. In this command, he >> does not specify the absolute path to the java command, leading me to >> believe this is the first java found by the path variable. Perhaps he just >> needs to either edit the ApacheDirectoryStudio.ini to specify which java >> install to use (not recommended), or better yet, update his PATH >> environment variable. > > I guess it's something like that. There are 2 Java installation on his > machine, with a Path that points to the oldest version. >