Changeset 11513


Ignore:
Timestamp:
12/30/08 15:10:17 (13 years ago)
Author:
Mark Evenson
Message:

Update ABCL<-->Java example instructions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/examples/abcl/README

    r11398 r11513  
    1 Building and running instructions
    2 =================================
     1ABCL Examples Building and Running Instructions
     2===============================================
    33
    4 by Blake McBride
     4code by Ville Voutilainen
     5instructions by Blake McBride
     6updated by Mark Evenson
    57
    6 In general, to compile a Java class file (like Main.java for example)
    7 use:
     8In general, to compile a Java class file (like Main.java for example
     9in the 'java_exception_in_lisp' subdirectory) use:
    810
    9   javac  -cp  ../../../abcl.jar  Main.java
     11  cmd$ cd java_exception_in_lisp
     12  cmd$ javac  -cp ../../../dist/abcl.jar  Main.java
    1013
    11 where the "../../../" represents the path to your abcl.jar file.
     14where the "../../../dist/abcl.jar" represents the path to your
     15abcl.jar file, which is built via the Ant based build.  This path
     16could be slightly different depending on how the system was
     17constructed, and possibly due to operating system conventions for
     18specifying relative paths.  However you resolve this locally, we'll
     19refer to this as '$ABCL_ROOT/dist/abcl.jar' for the rest of these
     20instructions.
    1221
    1322This compiles the Java source file "Main.java" into a JVM runtime or
     
    1625To run the example (Main.class for example) from a Unix-like OS use:
    1726
    18   java  -cp  ../../../abcl.jar:.  Main
     27  cmd$ java  -cp $ABCL_ROOT/dist/abcl.jar:.  Main
    1928
    2029or in Windows use:
    2130
    22   java  -cp  ../../../abcl.jar;.  Main
     31  cmd$  java  -cp  $ABCL_ROOT/dist/abcl.jar;.  Main
    2332
    2433where "Main" is the initial class to run in your Java program.
Note: See TracChangeset for help on using the changeset viewer.