The only library that Aster Scoring SDK needs is scoring.jar. You must load this jar file into your environment, and then you can invoke the Scorer like any jar library.
Some ways to load the library are:
- Use classpath
While compiling a package that contains Scoring classes, add scoring.jar to the classpath.
For example, assume that the application MyApp.java uses Scoring classes. The command to compile it from the command line is:javac -cp .:path_to_scoring.jar MyApp.java
(You can also add scoring.jar to the classpath when you compile such a package from a builder such as ant or maven.)
The command to run the compiled application from the command line is:java -cp .:path_to_scoring.jar MyApp
- Use Eclipse
Add scoring.jar to the Java build path of the project.
For instructions for installing and running Aster Scoring SDK in a cloud environment, see your cloud environment documentation for running a third party jar library.