java-bridge (hackage): This package offers bindings to the Java Native Interface and a high level interface generator.  It should suffice to do cabal install (or cabal install java-bridge when installing from hackageDB). /You need to have a JDK installed prior to installing this library/.  Setup will try to find the location of your java installation automatically. This is needed in order to load libjvm. Note that this library is loaded dynamically, which  means that linking errors might not show up during installation.  You can specify the location of libjvm manually using the environment variable FFIJNI_LIBJVM. This environment variable is consulted by Setup.hs as well as by the library each time libjvm is loaded - which means that you can override the path to libjvm at any time. The function getCompiledLibjvmPath in Foreign.Java.JNI.Safe will tell you what path to libjvm has been set during compilation of the library.  The following cabal flags are available to you for configuring your installation:  Use for example cabal install -f OSX_FRAMEWORK -f EXAMPLES or cabal configure -f DEBUG.  See HACKING.txt and ISSUES.txt in the tar.gz-package.
Keywords: ffi-tools|foreign|java|jvm|mit