[armedbear-cvs] r11397 - trunk/j/examples

Mark Evenson mevenson at common-lisp.net
Tue Nov 25 18:14:33 UTC 2008


Author: mevenson
Date: Tue Nov 25 18:14:32 2008
New Revision: 11397

Log:
Start of instructions on using the examples.

Gratiously contributed by Blake McBride.


Added:
   trunk/j/examples/README

Added: trunk/j/examples/README
==============================================================================
--- (empty file)
+++ trunk/j/examples/README	Tue Nov 25 18:14:32 2008
@@ -0,0 +1,24 @@
+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.
+
+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
+
+or in Windows use:
+
+	java  -cp  ../../../abcl.jar;.  Main
+
+where "Main" is the initial class to run in your Java program.
\ No newline at end of file




More information about the armedbear-cvs mailing list