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.