Getting started: Difference between revisions

From Jstacs
Jump to navigationJump to search
(New page: __NOTOC__ == Basic Requirements == * Make sure that you have installed [http://java.sun.com/javase/downloads/index.jsp Java] 1.5 or later. * Download latest version of [http://www.jstacs.d...)
 
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
We recommand to use an [http://en.wikipedia.org/wiki/Software_development_environment software development environment] (SDE) as for instance [http://www.eclipse.org eclipse].
== Basic Requirements ==
== Basic Requirements ==
* Make sure that you have installed [http://java.sun.com/javase/downloads/index.jsp Java] 1.5 or later.
* Make sure that you have installed [http://java.sun.com/javase/downloads/index.jsp Java] 1.5 or later.
* Download latest version of [http://www.jstacs.de/index.php/Downloads Jstacs].
* Download latest version of [http://www.jstacs.de/index.php/Downloads Jstacs].
* Include all JARs (e.g. <code>jstacs-<version>.jar</code>, ...) into your classpath. (Using [http://www.eclipse.org eclipse], you have to add the JARs to the Java build path by changing the properties of your project.)
* Include all JARs (e.g. <code>jstacs-<version>.jar</code>, ...) into your classpath:
** Using a SDE, you have to add the JARs to the Java build path by changing the properties of your project.
** Using command line, you have to compile your program using: <code>javac -cp=<JARs> <YourClass>.java</code> where <code><JARs></code> contains the path to all your jar-files.
* Run your program:
** Using a SDE, running jobs depends on the SDE and is often linked with some button.
** Using command line, you have to use <code>java -cp=<JARs> <YourClass></code>.


== Additional Requirements ==
== Additional Requirements ==

Revision as of 13:24, 19 November 2009

We recommand to use an software development environment (SDE) as for instance eclipse.

Basic Requirements

  • Make sure that you have installed Java 1.5 or later.
  • Download latest version of Jstacs.
  • Include all JARs (e.g. jstacs-<version>.jar, ...) into your classpath:
    • Using a SDE, you have to add the JARs to the Java build path by changing the properties of your project.
    • Using command line, you have to compile your program using: javac -cp=<JARs> <YourClass>.java where <JARs> contains the path to all your jar-files.
  • Run your program:
    • Using a SDE, running jobs depends on the SDE and is often linked with some button.
    • Using command line, you have to use java -cp=<JARs> <YourClass>.

Additional Requirements

  • If you want to use REnvironment, you must have a server with a running instance of R and Rserve.
  • If you want to use UserTime, you must compile de_jstacs_utils_UserTime.c and you must set the library-path (-Djava.library.path) to the directory where the dynamic library resides. For details see the documentation of UserTime.