[armedbear-cvs] r11513 - trunk/abcl/examples/abcl

Mark Evenson mevenson at common-lisp.net
Tue Dec 30 15:10:18 UTC 2008


Author: mevenson
Date: Tue Dec 30 15:10:17 2008
New Revision: 11513

Log:
Update ABCL<-->Java example instructions.


Modified:
   trunk/abcl/examples/abcl/README

Modified: trunk/abcl/examples/abcl/README
==============================================================================
--- trunk/abcl/examples/abcl/README	(original)
+++ trunk/abcl/examples/abcl/README	Tue Dec 30 15:10:17 2008
@@ -1,24 +1,33 @@
-Building and running instructions
-=================================
+ABCL Examples Building and Running Instructions
+===============================================
 
-by Blake McBride
-
-In general, to compile a Java class file (like Main.java for example)
-use:
-
-	javac  -cp  ../../../abcl.jar  Main.java
-
-where the "../../../" represents the path to your abcl.jar file.
+code by Ville Voutilainen
+instructions by Blake McBride
+updated by Mark Evenson
+
+In general, to compile a Java class file (like Main.java for example
+in the 'java_exception_in_lisp' subdirectory) use:
+
+	cmd$ cd java_exception_in_lisp
+	cmd$ javac  -cp ../../../dist/abcl.jar  Main.java
+
+where the "../../../dist/abcl.jar" represents the path to your
+abcl.jar file, which is built via the Ant based build.  This path
+could be slightly different depending on how the system was
+constructed, and possibly due to operating system conventions for
+specifying relative paths.  However you resolve this locally, we'll
+refer to this as '$ABCL_ROOT/dist/abcl.jar' for the rest of these
+instructions.
 
 This compiles the Java source file "Main.java" into a JVM runtime or
 class file named "Main.class".
 
 To run the example (Main.class for example) from a Unix-like OS use:
 
-	java  -cp  ../../../abcl.jar:.  Main
+	cmd$ java  -cp $ABCL_ROOT/dist/abcl.jar:.  Main
 
 or in Windows use:
 
-	java  -cp  ../../../abcl.jar;.  Main
+	cmd$  java  -cp  $ABCL_ROOT/dist/abcl.jar;.  Main
 
-where "Main" is the initial class to run in your Java program.
\ No newline at end of file
+where "Main" is the initial class to run in your Java program.




More information about the armedbear-cvs mailing list