source: branches/0.22.x/abcl/examples/lisp-to-java/README

Last change on this file was 12721, checked in by Mark Evenson, 14 years ago

Examples reorganization: move snippets to misc, adjust local READMEs.

File size: 959 bytes
Line 
1ABCL Examples Building and Running Instructions
2===============================================
3
4To compile
5
6    cmd$ javac  -cp ../../dist/abcl.jar  Main.java
7
8where the "../../../dist/abcl.jar" represents the path to your
9abcl.jar file, which is built via the Ant based build.  This path
10could be slightly different depending on how the system was
11constructed, and possibly due to operating system conventions for
12specifying relative paths.  However you resolve this locally, we'll
13refer to this as '$ABCL_ROOT/dist/abcl.jar' for the rest of these
14instructions.
15
16This compiles the Java source file "Main.java" into a JVM runtime or
17class file named "Main.class".
18
19To run the example (Main.class for example) from a Unix-like OS use:
20
21    cmd$ java  -cp $ABCL_ROOT/dist/abcl.jar:.  Main
22
23or in Windows use:
24
25    cmd$  java  -cp  $ABCL_ROOT/dist/abcl.jar;.  Main
26
27where "Main" is the initial class to run in your Java program.
28
29
Note: See TracBrowser for help on using the repository browser.