Changeset 11513 for trunk/abcl/examples
- Timestamp:
- 12/30/08 15:10:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/examples/abcl/README
r11398 r11513 1 Building and running instructions2 ================================= 1 ABCL Examples Building and Running Instructions 2 =============================================== 3 3 4 by Blake McBride 4 code by Ville Voutilainen 5 instructions by Blake McBride 6 updated by Mark Evenson 5 7 6 In general, to compile a Java class file (like Main.java for example )7 use:8 In general, to compile a Java class file (like Main.java for example 9 in the 'java_exception_in_lisp' subdirectory) use: 8 10 9 javac -cp ../../../abcl.jar Main.java 11 cmd$ cd java_exception_in_lisp 12 cmd$ javac -cp ../../../dist/abcl.jar Main.java 10 13 11 where the "../../../" represents the path to your abcl.jar file. 14 where the "../../../dist/abcl.jar" represents the path to your 15 abcl.jar file, which is built via the Ant based build. This path 16 could be slightly different depending on how the system was 17 constructed, and possibly due to operating system conventions for 18 specifying relative paths. However you resolve this locally, we'll 19 refer to this as '$ABCL_ROOT/dist/abcl.jar' for the rest of these 20 instructions. 12 21 13 22 This compiles the Java source file "Main.java" into a JVM runtime or … … 16 25 To run the example (Main.class for example) from a Unix-like OS use: 17 26 18 java -cp ../../../abcl.jar:. Main27 cmd$ java -cp $ABCL_ROOT/dist/abcl.jar:. Main 19 28 20 29 or in Windows use: 21 30 22 java -cp ../../../abcl.jar;. Main31 cmd$ java -cp $ABCL_ROOT/dist/abcl.jar;. Main 23 32 24 33 where "Main" is the initial class to run in your Java program.
Note: See TracChangeset
for help on using the changeset viewer.