To compile and run your Sparksee application you must take into account your development framework.
In the Installation chapter we have seen how to download and unpack the java package to get the sparkseejava.jar file. You need to include that jar in you development environment project.
If you don't use an IDE, you just need to add the sparkseejava.jar file to the classpath. So, you can compile and run the HelloSparksee application with these simple commands:
$ javac -cp sparkseejava.jar HelloSparksee.java $ java -cp sparkseejava.jar;. HelloSparksee
If you use Apache Maven, then it is even easier. Sparksee is in the maven central repository, adding the dependency to the correct Sparksee version into your "pom.xml" file should be enough:
<dependency> <groupId>com.sparsity</groupId> <artifactId>sparkseejava</artifactId> <version>5.0.0</version> </dependency>