...
- Setup the ROOT environment by running $ROOT_SYS/bin/thisroot.sh.
- Cd to the javaROOT directory.
- Run make all.
- Tell the linker where to find the new shared objects. E.g. if running the example BasicC++, calling export LD_LIBRARY_PATH:$LD_LIBRARY_PATH:. will ensure the program runs.
- Running the Java programs requires the classpath to be set approriately, e.g. java -cp ../../jar/javaROOT.jar:../../jar/freehep-physics-2.1.jar:. Test.
- If there are any problems with network exceptions on the LCSIM example, it is due to proxy servers: set these when Java is run by adding -Dhttp.proxyHost=<hostname> -Dhttp.proxyPort=<hostport> in the call to Java.
...
- Ensure the %ROOT_SYS% and %JDK_HOME% environment variables are set (go to System Properties (WinKey+Break), Advanced, Environment Variables) to the root folders of ROOT and the JDK respectively.
- Run a Visual Studio Command Prompt.
- Cd to the javaROOT root folder.
- Run mingw32-make all.
- Running the Java programs requires the classpath to be set approriately, e.g. java -cp ../../jar/javaROOT.jar:../../jar/freehep-physics-2.1.jar:. Test.
- If there are any problems with network exceptions on the LCSIM example, it is due to proxy servers: set these when Java is run by adding-Dhttp.proxyHost=<hostname> -Dhttp.proxyPort=<hostport> in the call to Java.