...
Kurator-Akka requires Java version 1.7 or higher. To determine the version of java installed on your computer use the -version option to the java command. For example,
...
$
...
java
...
-version
...
java
...
version
...
"1.7.0_67"
...
Java(TM)
...
SE
...
Runtime
...
Environment
...
(build
...
1.7.0_67-b01)
...
Java
...
HotSpot(TM)
...
64-Bit
...
Server
...
VM
...
(build
...
24.65-b04,
...
mixed
...
mode)
...
$
2. Download the Kurator-Akka jar
...
If the Kurator-Akka jar is stored elsewhere, qualify kurator-akka.jar with the path to that file. If you stored the jar file in the bin subdirectory of your home directory (on a Unix platform), running Kurator-Akka would look something like this:
$
...
java
...
-jar
...
~/bin/kurator-akka.jar
...
-f
...
classpath:/org/kurator/akka/samples/hello.yaml
...
Hello
...
World!
...
$
...
Kurator-Akka can be run similarly on Windows platforms.
...
If you would like to browse and edit the sample workflows included in the Kurator-Akka jar, type the following (qualifying the path to the Kurator-Akka jar as necessary) from a working directory and extract them to your filesystem:
jar
...
xf
...
kurator-akka.jar
...
org/kurator/akka/samples
...
To run a script residing on the filesystem, you can use the file scheme:
$
...
java
...
-jar
...
kurator-akka.jar
...
-f
...
file:org/kurator/akka/samples/hello.yaml
...
Hello
...
World!
...
The file: qualifier is optional, however. By default Kurator-Akka looks for workflows on your filesystem. So this will work, too:
$
...
java
...
-jar
...
~/bin/kurator-akka.jar
...
-f
...
org/kurator/akka/samples/hello.yaml
...
Hello
...
World!
...
5. Create an alias for Kurator-Akka (optional)
...
$ kurator-akka -f classpath:/org/kurator/akka/samples/hello.yaml
Hello World!
$