You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My j2root library is installed and available on farms, just execute source /work/clas12/kenjo/j2root/j2root.csh on farm, and this library should be ready for use.
If you want to install on your personal computer, follow these steps:
You need ROOT installed on your computer, and root-config location should be in your PATH environment variable. You can check it by running root-config in your command line
The JDK introduces a bridge between the bytecode running in our JVM and the native code. So you need JNI header files, and they are usually accessible in the system default header locations, so you don't need to do anything. Otherwise you should specify JAVA_HOME environment variable. You should be able to find jni.h and jni_md.h in your $JAVA_HOME/include location.
Clone the repo, run scons, run maven:
git clone git@github.com:drewkenjo/j2root.git
cd j2root
scons
mvn package
Set environment variables:
source setup.sh in bash
source setup.csh in csh
Test installation by running run-groovy root.groovy, it should create test.root file in your current directory