This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I responded to that post. If I remember correctly, Subversion set your JAVA_HOME env variable to point to something other than a full JDK (j2sdk).
My answer was to download the full jdk and set your JAVA_HOME variable to point to it. In the event that you had two programs requiring different JAVA_HOME env variables, set the env value in one of the wrapper scripts (such as TOMCAT_HOME/bin/startup.sh).