Using classpath - Aster Analytics

Teradata Aster Analytics Foundation User Guide

Product
Aster Analytics
Release Number
6.21
Published
November 2016
Language
English (United States)
Last Update
2018-04-14
dita:mapPath
kiu1466024880662.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1021
lifecycle
previous
Product Category
Software

While compiling a package that contains Scoring classes from either the command line, ant, maven, or other builders, add the scoring.jar library to the classpath. An example for command line compilation of an application, MyApp.java (that uses Scoring classes), is:

javac -cp .:<path/to/scoring.jar> MyApp.java

To run the application containing Scoring classes from the command line, add the scoring.jar library to the classpath:

java -cp .:<path/to/scoring.jar> MyApp

The procedure to install and run on a cloud environment are similar. Follow the instructions in the documentation for your cloud environment about running a third party jar library.