Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:latest:requirements [2017/01/30 17:10] (current)
Line 1: Line 1:
 +====== Requirements ======
  
 +===== General requirements =====
 +
 +All you need to use LSC is a Java 1.6 virtual machine (JRE).
 +
 +Download [[http://​java.sun.com/​javase/​downloads/​index.jsp|latest JRE from Sun]] or install one packaged with your distribution (known to work with OpenJDK but not GCJ or Gnu Classpath Java environments).
 +
 +If you use the LSC RPM, the SUN Java RPM is needed as a dependency.
 +
 +Production servers running regularly scheduled synchronizations will also need cron, or another other task scheduler.
 +
 +===== Setting up your environment =====
 +
 +==== Java ====
 +
 +Check that the ''​JAVA_HOME''​ environment variable is set up. If not, set it up with a command like this (adapt the path to your system):
 +
 +<code shell>$ export JAVA_HOME=/​usr/​lib/​jvm/​java-6-sun</​code>​
 +
 +This may not be required if Java is directly installed on your system, and you can run java from anywhere:
 +<​code>​$ java -version</​code>​
 +
 +We advice to use the ''​JAVA_HOME''​ environment variable to be sure that LSC will work even when launched by a cron job.
 +
 +===== Operating System =====
 +
 +LSC is written in Java, and as such should run on any system with a JVM.
 +
 +LSC has been successfully tested and used on various recent versions of GNU/Linux, MacOS X and Windows.
 +
 +===== Shell environment =====
 +
 +LSC runtime does not require any particular shell (it is build upon /bin/bash).
 +
 +On Windows, the sample script requires Cygwin.