Configuring the Java environment.
XBRLAPI is implemented in Java and requires a Java 1.7 (or higher) runtime engine to execute. If you intend to use a data store that is run from within a Java servlet container such as Tomcat or Jetty, you must install a full Java SDK rather than just a Java runtime engine..
Follow the necessary instructions for your operating system and your chosen Java SDK to install the Java SDK. In particular, ensure that you have set the JAVA_HOME environment variable to point to the directory containing the Java installation.